{"id":"decimal-subtract","version":"1.0.0","description":"Exact decimal subtraction a minus b of canonicalizable decimal strings.","supported_operations":["decimal subtract","subtract decimals","exact decimal difference"],"unsupported_operations":["ieee754","currency rounding","tax"],"semantics":["Input decimal strings: /^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$/.","Reject leading zeros, plus signs, spaces, exponents, bare \".\", trailing \".\", empty, and NaN/Infinity tokens.","At most 40 digits excluding sign and decimal point. At most 18 fractional digits on input.","Canonicalize: strip trailing fractional zeros; drop the decimal point if the fraction vanishes; normalize -0 and -0.0 to \"0\".","Exact decimal arithmetic with BigInt scaled integers. No IEEE-754 intermediates. Never return JSON BigInt.","Return canonical a-b."],"limits":{"max_digits":40,"max_scale":18},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["a","b"],"properties":{"a":{"type":"string","minLength":1,"maxLength":44},"b":{"type":"string","minLength":1,"maxLength":44}}},"output_schema":{"type":"object","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"string"}}},"examples":[{"input":{"a":"2.00","b":"0.1"},"output":{"value":"1.9"}}],"execute_url":"/v1/tools/decimal-subtract/versions/1.0.0/execute"}