Resolve City IATA Code
resolve_city_iata_codeUse this tool to resolve a city name into its corresponding city IATA code before calling any route price, monthly price, or airport analytics tool that requires a city code. It returns cities only, not individual airports.
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": {
"query": "<query>"
},
"name": "resolve_city_iata_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of city matches to return. | |
| query | Yes | City name to resolve to its corresponding city IATA code, for example Москва, Moscow, London. | |
| locale | No | Locale used to localize autocomplete results. | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Resolved cities with their corresponding city IATA codes. Airport results are intentionally excluded. |