Distance between two places or coordinates
distance_between_placesDistance between two places or coordinates. Distance between two places. Distance between any two places: coordinates, cities ("Paris, FR") or airport codes (MAD, JFK). Ellipsoidal (Vincenty) km, miles and nautical miles, bearing, compass, midpoint, flight time estimate and distance matrices.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "distance_between_places"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Same formats as from (e.g. JFK) | |
| from | Yes | Coordinates (40.4168,-3.7038), city (Madrid, ES) or airport code (MAD) (e.g. MAD) |