lookup_airlines
Convert airline names to IATA codes or find which airline a code belongs to. Use for airline identification before flight searches.
Instructions
Look up airlines by name or IATA code.
Use when the user asks which airline a code belongs to, or wants the IATA
code for an airline name. For an airport, city, or country code use
lookup_airports, lookup_cities, or lookup_countries; for fares use
search_flights.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lookup_airlines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (1-500, default 50). | |
| locale | No | 2-letter locale for names (e.g. "en", "ru"). Defaults to the server's locale. | |
| search | No | Airline name substring or exact IATA code (e.g. "aeroflot", "SU"). Omit to list airlines from the start of the dataset. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||