Find place codes
mb_find_placeConvert a city, airport, station, or hotel name into the correct search code for flight, train, bus, taxi, or hotel queries.
Instructions
Turn a city, airport, station or hotel name into the code a search takes.
flight: airports (Iranian IATA codes; Tehran is THR; prefer to XXXALL for domestic routes)
and cities (any country; XXXALL = all its airports). train: station ids. bus / taxi: 8-digit
city ids (11320000 = Tehran, all terminals). hotel: city and hotel slugs.
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>",
"mode": "<mode>"
},
"name": "mb_find_place"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Which search the code is for. | |
| limit | No | Max places per list. | |
| query | Yes | Place name in Persian or English, or a code, e.g. 'مشهد', 'tehran' or 'IST'. |