get_route_stops
Get all stops or stations along a transit route by providing a city and route ID, with optional direction filtering.
Instructions
Retrieves stops and stations along a specific transit route in a supported city.
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": "<city>",
"route_id": "<route_id>"
},
"name": "get_route_stops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City identifier or alias (e.g. 'msp', 'boston', 'sf_bart', 'chicago', 'portland') | |
| route_id | Yes | Route or line identifier (e.g. '901', 'Red', '12') | |
| direction | No | Optional direction (e.g. '0', '1', 'Northbound', 'Inbound') |