{"id":"vector-distance","version":"1.0.0","description":"Compute the Euclidean, Manhattan, or Chebyshev distance between two equal-length finite-number vectors.","supported_operations":["vector distance","euclidean distance","manhattan distance","chebyshev distance"],"unsupported_operations":["vectors of different lengths","Minkowski distance with arbitrary p","geographic/geodesic distance"],"semantics":["Inputs a and b are arrays of finite JSON numbers with the same length, from 1 to 64 entries, magnitude bounded to at most 1000000.","Optional input metric selects euclidean (default, L2 of the difference), manhattan (L1 of the difference), or chebyshev (L-infinity of the difference).","Computed with IEEE-754 double-precision arithmetic; the euclidean metric uses Math.sqrt and is rounded to double precision, not exact.","The result is always non-negative; -0 is normalized to 0."],"limits":{"max_dim":64,"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":64,"items":{"type":"number"}},"b":{"type":"array","minItems":1,"maxItems":64,"items":{"type":"number"}},"metric":{"type":"string","enum":["euclidean","manhattan","chebyshev"]}}},"output_schema":{"type":"object","additionalProperties":false,"required":["result"],"properties":{"result":{"type":"number"}}},"examples":[{"input":{"a":[0,0],"b":[3,4]},"output":{"result":5}}],"execute_url":"/v1/tools/vector-distance/versions/1.0.0/execute"}