list_airports
Retrieves airports from the reference catalog with pagination and text search, returning names, IATA/ICAO codes, location, and timezone data to resolve airport names to IATA codes.
Instructions
List airports from the reference catalog, one page at a time, with optional text search. Each record has airport name, IATA and ICAO codes, city IATA code, country name and ISO2, timezone and GMT offset, alongside a pagination block carrying limit, offset and total. Use search to resolve an airport name to the IATA code the flight tools expect.
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": "list_airports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of airports to return per page, from 1 to 100. | |
| offset | No | Zero-based offset for pagination. Combine with limit and the total in the response to page through results. | |
| search | No | Optional text matched against airport name and codes. Autocomplete search requires the Basic plan or higher, as does this endpoint. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |