get_next_departures
Retrieve upcoming scheduled departures for a stop, across all routes serving it. Uses static GTFS timetable data to show departure times.
Instructions
Get upcoming scheduled departures for a given stop, across all routes serving it.
Note: this reads the static GTFS schedule (not live GPS positions), so results reflect the timetable, not real-time delays.
Args: stop_name: Name (or partial name) of the stop/station to look up. limit: Maximum number of departures to return.
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": {
"stop_name": "<stop_name>"
},
"name": "get_next_departures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| stop_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |