mbta_get_track_prediction
Predict which track a train will use at a station by inputting trip ID, route, station, and scheduled time.
Instructions
Get track prediction for a specific trip using IMT API. Predicts which track a train will use at a station.
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": {
"station_id": "<station_id>",
"route_id": "<route_id>",
"trip_id": "<trip_id>",
"headsign": "<headsign>",
"direction_id": "<direction_id>",
"scheduled_time": "<scheduled_time>"
},
"name": "mbta_get_track_prediction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| station_id | Yes | Station ID where prediction is needed | |
| route_id | Yes | Route ID (e.g., CR-Providence) | |
| trip_id | Yes | Trip ID for the specific train | |
| headsign | Yes | Destination/headsign (e.g., South Station) | |
| direction_id | Yes | Direction (0 or 1) | |
| scheduled_time | Yes | Scheduled departure/arrival time (ISO format) |