Get bus route
get_bus_routeRetrieves first and last bus times plus basic city bus route metadata for a given city code and route ID; use it for schedule data, not live vehicle locations.
Instructions
Get first and last bus times and basic city bus route metadata. Returns schedule data, not live locations (use get_route_bus_locations for live positions).
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": {
"cityCode": "<cityCode>",
"routeId": "<routeId>"
},
"name": "get_bus_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routeId | Yes | City bus route ID (routeid) returned by find_bus_routes or list_stop_routes | |
| cityCode | Yes | TAGO city code from a city-list tool, including list_pm_providers for personal mobility |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| sourceUrl | Yes | ||
| catalogUrl | Yes | ||
| observedAt | Yes | ||
| totalCount | Yes | ||
| sourceService | Yes |