List supported cities
bus_list_citiesList all supported cities for realtime bus data. Use to look up city IDs when a user mentions a city name.
Instructions
List cities supported by the realtime bus data service.
Args:
hot_only (boolean, default true): return only the upstream's curated 'hot' set (~20 cities). Set false to dump the full ~480-city list (token-heavy, use sparingly).
response_format ('markdown' | 'json'): defaults to 'markdown'
Returns (json): { "cities": [ { "cityId": "034", "cityName": "上海", "pinyin": "ShangHai", "supportSubway": true, "hot": true }, ... ] }
Use when: the user mentions a city name and you don't have its ID. The hot set covers the top-tier cities the user almost certainly means.
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": "bus_list_cities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hot_only | No | Default true: return only the upstream-curated 'hot' set (~20 cities). Set false to dump all 480+. | |
| response_format | No | Output format: 'markdown' for human-readable text, 'json' for full structured data | markdown |