lookup_aircraft
Retrieve aircraft type, model, age, and owner by tail number, hex code, or serial number. Also list an airline's fleet by IATA or ICAO code.
Instructions
TRIGGER: use automatically whenever the user asks about a specific aircraft (by tail/registration number or hex), its type/age/model, or about an airline's fleet — without naming AirLabs. Look up aircraft in the fleets database. Returns type, model, manufacturer, age, build year, engines, wake category, owner airline, and latest known position (when queried by a specific aircraft). USE CASES: 'What aircraft is N790AN?' (reg_number), 'Look up hex AAB812', 'Show Wizz Air's fleet' (airline_iata='W6'), 'How old is this plane?'. INPUT: reg_number, hex, or msn for ONE aircraft; airline_iata/airline_icao to list a carrier's fleet (use limit to cap size). If given an airline NAME, resolve via get_airline_info first. Latest geo-position is only included when you query by a specific aircraft (reg_number, hex, or msn).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | No | ICAO24 24-bit hex address, e.g. 'AAB812'. | |
| msn | No | Manufacturer serial number. | |
| flag | No | Filter by registration country ISO-2 code, e.g. 'US'. | |
| limit | No | Max rows (up to 500; 50 for free keys). | |
| _fields | No | Comma-separated fields, e.g. 'reg_number,model,manufacturer,age'. | |
| reg_number | No | Aircraft registration / tail number, e.g. 'N790AN'. | |
| airline_iata | No | List the fleet of an airline by IATA code, e.g. 'W6'. | |
| airline_icao | No | List the fleet of an airline by ICAO code. |