service_alerts
Get currently active service alerts. Defaults to the TTC, optionally filtered by mode to subway, bus, streetcar, or accessibility alerts; the mode filter applies to TTC alerts only. Pass agency hsr for Hamilton HSR alerts, agency go for GO Transit and UP Express alerts, or agency all for every agency combined.
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": "service_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Optional TTC alert mode filter | |
| limit | No | Maximum alerts to return | |
| agency | No | Optional agency selector: ttc (default), hsr, go, or all for every agency combined |