Find location
find_locationFinds cities and airports by name or IATA/ICAO code and returns a ref for each. The other Mirai Flights tools take places as refs; a city ref covers all of the city's 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": "find_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | city or airport name, IATA or ICAO code | |
| language | No | response language; defaults to the client's Accept-Language, then en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locations | Yes |