get_route_stops
Retrieve the complete list of stops for any bus route by specifying operator and route number, with optional direction filter to get inbound or outbound stops.
Instructions
Get the full ordered list of stops for a specific bus route.
Parameters: operator: Operator name (exact or partial match). route: Route number/identifier. direction: Optional filter: 'inbound', 'outbound', or leave blank for all.
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": {
"operator": "<operator>",
"route": "<route>"
},
"name": "get_route_stops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | ||
| operator | Yes | ||
| direction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |