next_trains
Get upcoming SEPTA Regional Rail trains between two stations with live delay status; falls back to published schedules when real-time data is unavailable.
Instructions
Next trains from one station to another right now, with live delay status.
Uses SEPTA's real-time NextToArrive API (includes connecting trips when there is no direct train). Falls back to the published schedule if the live API is down.
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": {
"from_station": "<from_station>",
"to_station": "<to_station>"
},
"name": "next_trains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| to_station | Yes | ||
| from_station | Yes |