Rail Predictions
rail_predictionsFetch real-time next-train arrival predictions for one or more WMATA stations by comma-separated station_codes (or "All"). Returns line, destination, car count, and minutes until arrival.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"station_codes": "A01"
},
"name": "rail_predictions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| station_codes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||