Airports Lookup
AirportsLookupAirports Lookup: Airports Lookup resolves 3-letter IATA codes into official airport names, matching ICAO codes, cities, states, country codes and country names. Paid plans add ICAO code lookups, search by airport name or city, geographic coordinates, elevation, local timezones and the current UTC offset across more than 29,000 facilities. (Cost: 2 credits)
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": "AirportsLookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Optional part of the city name the airport must also match (e.g. london) | |
| iata | No | The IATA code of the airport for which you want to get the information (e.g., MCI) | |
| icao | No | The ICAO code of the airport for which you want to get the information (e.g., KMCI) | |
| name | No | Part of the airport name to search for, at least 2 characters (e.g. heathrow) | |
| country | No | Optional 2-letter ISO country code to limit matches to one country (e.g. GB) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |