compute_distance
Calculate the shortest oceangoing route distance in nautical miles between two latitude/longitude coordinates.
Instructions
Compute shortest oceangoing route distance in nautical miles.
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": {
"start_lat": "<start_lat>",
"start_lon": "<start_lon>",
"end_lat": "<end_lat>",
"end_lon": "<end_lon>"
},
"name": "compute_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_lat | Yes | ||
| end_lon | Yes | ||
| start_lat | Yes | ||
| start_lon | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |