Find bus routes
find_bus_routesFind city bus route numbers and IDs by city code, optionally filtered by route number, and retrieve route IDs needed to look up route details, stops, or live bus locations.
Instructions
Find city bus route numbers and IDs in a city. Use returned routeid with get_bus_route, list_route_stops, or get_route_bus_locations.
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>"
},
"name": "find_bus_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-1000); defaults to 1 | |
| routeNo | No | Bus route number to filter (e.g. 401, 순환2) | |
| cityCode | Yes | TAGO city code from a city-list tool, including list_pm_providers for personal mobility | |
| pageSize | No | Maximum items per page (1-100); defaults to 10 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| sourceUrl | Yes | ||
| catalogUrl | Yes | ||
| observedAt | Yes | ||
| totalCount | Yes | ||
| sourceService | Yes |