Train arrival predictions
get_station_predictionsGet real-time train arrival predictions for a transit station. Supports DC Metro and NYC Subway. Accepts a station name or an exact station ID; if a name matches several stations, the result lists the candidates to choose from.
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>",
"stationName": "<stationName>"
},
"name": "get_station_predictions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | ||
| stationName | Yes | Station name (e.g., "Metro Center", "Times Square") — auto-converted to station ID. DC accepts codes like "A01". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | ||
| station | Yes | ||
| predictions | Yes |