get_route_stops
Retrieve all scheduled stops for a route and direction, including place codes and station descriptions, to plan transit trips.
Instructions
Get all scheduled stops for a route in a specific direction, including their place codes and station descriptions.
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": {
"route_id": "<route_id>",
"direction_id": "<direction_id>"
},
"name": "get_route_stops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route_id | Yes | Route ID (e.g. '902', '901', '94'). | |
| direction_id | Yes | Direction ID (0 or 1, obtained from get_route_directions). |