get_airport_data
Retrieve airport information by IATA or ICAO code, with options for full details like coordinates, elevation, city, and timezone or a light response with name and codes.
Instructions
Get information about an airport by its exact IATA or ICAO code.
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": "get_airport_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | IATA (3-letter) or ICAO (4-letter) airport code | |
| detail_level | No | Amount of detail to return. "full" (default) includes coordinates, elevation, city, and timezone; "light" returns only name and codes and costs fewer FR24 API credits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| codes | Yes | ||
| updated | Yes | ||
| location | No | ||
| timezone | No |