Find bus stops
find_bus_stopsLocate city bus stops by stop name or public stop number using a city code, then use the returned node ID to check arrivals or routes.
Instructions
Find city bus stops in a city by stop name or public stop number. For GPS coordinate search, use find_nearby_bus_stops. Use returned nodeid with get_bus_arrivals or list_stop_routes.
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_stops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-1000); defaults to 1 | |
| nodeNm | No | Bus stop name substring to search | |
| nodeNo | No | Public bus stop number displayed on the stop sign | |
| 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 |