Distance and bearing between two places
distance_bearingGreat-circle distance between two points given as coordinates ('lat,lon') or airport codes (IATA/ICAO), in kilometres, miles and nautical miles, with the initial and final compass bearing, the midpoint, and a rough flight time at 800 km/h. Straight-line distance, not road or flight-route distance.
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_bearing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End: 'lat,lon' or an airport code. | |
| from | Yes | Start: 'lat,lon' (e.g. '51.5074,-0.1278') or an airport code (e.g. 'LHR'). |