Detours
detoursFetch active TTC surface diversions by route, showing skipped stops, leave/rejoin points, diversion paths, affected trips, service dates, and reasons.
Instructions
Active surface detours from the TTC's TripModifications feed, grouped by detour id: per pattern the skipped stops, where the vehicle leaves and rejoins the route, the detour path (encoded polyline and length), trips affected, service dates, and the reason when a service change matches (null otherwise). Answers are best effort, from the TTC's own site endpoints.
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": "detours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||