Search airports
search_airportsFind airports by city name (nearest airports to a city), by coordinates, or by name/code text. Returns IATA/ICAO codes, names and distances. Use this first when the user names a city or place instead of an airport code.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_airports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| city | No | City name, e.g. Paris. Returns the nearest airports with scheduled service. | |
| limit | No | Default 10, max 25. | |
| query | No | Airport name or code text, e.g. heathrow. | |
| country | No | ISO 3166-1 alpha-2 code to disambiguate (e.g. FR). | |
| language | No | Optional language for names (adds localized_name where available). | |
| radius_km | No | Search radius, default 100 (max 500). | |
| scheduled_only | No | Only airports with scheduled passenger service (default true). |