{"id":"matrix-subtract","version":"1.0.0","description":"Subtract two equal-shape finite-number matrices elementwise (a minus b).","supported_operations":["matrix subtraction","elementwise matrix difference"],"unsupported_operations":["matrices of different shapes","sparse matrix representation","arbitrary-precision arithmetic"],"semantics":["Inputs a and b are rectangular arrays of rows of finite JSON numbers with identical row and column counts (1 to 20 each), magnitude bounded to at most 1000000.","The result is the elementwise IEEE-754 double-precision difference result[r][c] = a[r][c] - b[r][c].","A result entry of -0 is normalized to 0."],"limits":{"max_rows":20,"max_cols":20,"max_abs_value":1000000},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["a","b"],"properties":{"a":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"array","items":{"type":"number"}}},"b":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"array","items":{"type":"number"}}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["result"],"properties":{"result":{"type":"array","items":{"type":"array","items":{"type":"number"}}}}},"examples":[{"input":{"a":[[5,6],[7,8]],"b":[[1,2],[3,4]]},"output":{"result":[[4,4],[4,4]]}}],"execute_url":"/v1/tools/matrix-subtract/versions/1.0.0/execute"}