train_positions
Get live locations of every in-service CTA 'L' train, optionally filtered by line, nearby station or coordinates, radius, or Loop-bound status.
Instructions
Live location of every in-service 'L' train (one CTA request covers all lines).
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": "train_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | 'LAT,LON' or station name; keep trains within radius_m. | |
| lines | No | Lines to include; default all eight. | |
| radius_m | No | ||
| loop_only | No | Only trains whose next stop is on the elevated Loop. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||