distance
Calculate Euclidean distance between two points.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | X coordinate of point 1 | |
| x2 | Yes | X coordinate of point 2 | |
| y1 | Yes | Y coordinate of point 1 | |
| y2 | Yes | Y coordinate of point 2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| point1 | Yes | ||
| point2 | Yes | ||
| distance | Yes |