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, or agency all for both agencies 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, or all for both agencies combined |