Nearest airports to a point
nearest_airportsThe nearest airports to a latitude/longitude, with straight-line distance in km. By default only airports with scheduled airline service (an IATA code or medium/large size, not heliports); set scheduled_only to false to include all open airports in the dataset.
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": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "nearest_airports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many (default 5). | |
| latitude | Yes | ||
| longitude | Yes | ||
| scheduled_only | No | Only airports with scheduled service (default true). |