Service Hours
service_hoursCheck if a TTC route operates on a given date, including holiday exceptions, and get its first and last trip times for service planning.
Instructions
Whether a route runs on a date (calendar plus holiday exceptions) and its first and last trip times. GTFS times past 24:00 belong to the previous service day.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"route": "<route>"
},
"name": "service_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| route | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||