Resolve a city name to its IATA code
resolve_cityTurns a spoken city name into the uppercase IATA city code the other tools expect. Call this before find_cheapest_fare whenever you are not certain of a code. Do not invent codes.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | City name or partial name, e.g. "sao paulo". |