Train positions
get_train_positionsRetrieves live Amtrak train positions from the map feed, filtered by route name and bounding box, returning latitude, longitude, heading, and speed for each train.
Instructions
Live Amtrak train positions from the map feed. Filter with a route name (for example Northeast or Acela) and a bounding box (north, south, east, west). Each row includes latitude, longitude, compass heading, and speed in mph.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_train_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| east | No | Eastern longitude of the box. | |
| west | No | Western longitude of the box. | |
| limit | No | Maximum trains. Default 50. | |
| north | No | Northern latitude of the box. | |
| route | No | Route name fragment, matched against the fleet route name. | |
| south | No | Southern latitude of the box. |