Airport by IATA/ICAO code
airport_infoAirport by IATA/ICAO code. Airport by code. 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": {
"code": "<code>"
},
"name": "airport_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | IATA (MAD) or ICAO (LEMD) (e.g. MAD) |