Distance between two airports
airport_distanceDistance between two airports. Distance between airports. Airport lookup by IATA or ICAO code, search by name or city, nearest airports to any coordinates and great-circle distance and flight time between two airports. 9,500 airports with coordinates, elevation, country, region and city.
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": "airport_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | IATA/ICAO (e.g. JFK) | |
| from | Yes | IATA/ICAO (e.g. MAD) |