Get city operating config
bus_get_city_configRetrieve a city's runtime configuration including max poll interval and arriving time threshold to determine optimal refresh rate for real-time transit data.
Instructions
Get a city's runtime config: max poll interval and "arriving" time threshold.
This is mostly relevant if you are deciding how aggressively to refresh — not for end-user questions about lines or stops.
Args:
city_id (string, required): e.g. '034' (Shanghai), '027' (Beijing)
response_format ('markdown' | 'json')
Returns (json): { "maxInterval": 30, "arrivingStationLimitSeconds": 180, "busDisplayConfig": { "lineDetail": "time#order#distance", "other": "time#order" } }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_id | Yes | City ID, e.g. '034' for Shanghai, '027' for Beijing | |
| response_format | No | Output format: 'markdown' for human-readable text, 'json' for full structured data | markdown |