Get Airport
get_airportGet airport details by IATA code (e.g., "JFK", "LHR"). Returns name, city, country, coordinates, altitude, timezone.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"iata_code": "JFK"
},
"name": "get_airport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iata_code | Yes | Three-letter IATA airport code (e.g. "JFK") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City where airport is located | |
| iata | Yes | Three-letter IATA code | |
| icao | Yes | Four-letter ICAO code | |
| name | Yes | Airport name | |
| country | Yes | Country where airport is located | |
| latitude | Yes | Latitude coordinate | |
| timezone | Yes | Airport timezone | |
| longitude | Yes | Longitude coordinate | |
| altitude_ft | Yes | Altitude in feet |