euclidean_distance
Computes the Euclidean distance between two points in a 2D plane using the formula: sqrt((x2-x1)² + (y2-y1)²). (cost: 1 credit)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "euclidean_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| point_a | No | array of two numbers, required, coordinates of first point [x, y] | |
| point_b | No | array of two numbers, required, coordinates of second point [x, y] |