Get city operating config
bus_get_city_configRetrieve a city's bus runtime settings—maximum poll interval and arriving-time threshold—to decide how aggressively to refresh 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" } }
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": {
"city_id": "<city_id>"
},
"name": "bus_get_city_config"
}
}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 |