get_airport_info
Look up airport details by IATA or ICAO code, or list airports by country or city code. Returns full name, location, timezone, runways, and more.
Instructions
TRIGGER: use automatically whenever the user asks about an airport's details (full name, city, country, timezone, coordinates, runways), or to expand an airport code into a full name — without naming AirLabs. Look up airport(s) in the airports database by code. Returns full name, city, country, coordinates, elevation, timezone, runways, yearly departures and localized names. USE CASES: 'What's the full name of LHR?', 'Where is SOF?', 'List all airports in Bulgaria' (country_code='BG'), 'airports in the PAR city group' (city_code='PAR'). WORKFLOW ROLE: after get_airport_schedule or find_routes returns destination codes (arr_iata), call this per code to give the user full airport NAMES instead of bare codes. INPUT: iata_code or icao_code (one airport), or country_code/city_code (a list).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _fields | No | Comma-separated fields, e.g. 'name,iata_code,city,country_code'. | |
| city_code | No | IATA metropolitan city code, e.g. 'PAR', 'LON'. | |
| iata_code | No | Airport IATA code, e.g. 'LHR', 'SOF'. | |
| icao_code | No | Airport ICAO code, e.g. 'EGLL', 'LBSF'. | |
| country_code | No | ISO-2 country code to list a country's airports, e.g. 'BG'. |