Get Ferry Schedule
wsdot_get_ferry_scheduleReturns departure times for a specific WSF ferry route on a given date. Requires numeric terminal IDs — use wsdot_get_ferry_terminals to resolve terminal names to IDs; terminalPairs on wsdot_get_ferry_routes lists the pairs with service on a date. Set remainingOnly to true to show only future departures for today (useful for "next ferry" queries); a query after midnight also includes the previous service day's sailings still to depart, listed first. Each sailing's serviceDate names the service day whose schedule lists it. For future dates, all sailings for that day are returned. Each sailing carries its vessel ID, WSF's loading-rule code, and the pair's annotations that apply to it — notes such as "No interisland vehicles" that decide whether a sailing takes a car. Sailing times are ISO 8601 UTC, each beside a Local sibling (departureTimeLocal, arrivalTimeLocal) holding the same instant in Pacific time with its UTC offset — quote the Local form as the clock time. tripDate is the Pacific service day, so an evening sailing's UTC time carries the next calendar date. Cancellations are not carried here — WSF drops a cancelled sailing from the schedule instead of flagging it, so a listed sailing is not confirmation that it will run. Check wsdot_get_ferry_alerts for disruptions; those are scoped to a route, not an individual sailing.
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": {
"departingTerminalId": "<departingTerminalId>",
"arrivingTerminalId": "<arrivingTerminalId>"
},
"name": "wsdot_get_ferry_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tripDate | No | Date in ISO 8601 format (YYYY-MM-DD). Defaults to today if omitted. | |
| remainingOnly | No | When true, returns only future sailings for today. A WSF service day runs past midnight, so before 3 a.m. Pacific the result also includes the previous service day's sailings still to depart, first and marked with that day's serviceDate. Ignored for any other date. Default: false. | |
| arrivingTerminalId | Yes | Numeric ID of the arriving terminal. | |
| departingTerminalId | Yes | Numeric ID of the departing terminal. Use wsdot_get_ferry_terminals to look up terminal IDs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Present when no sailings are found, or when the previous service day's late sailings could not be checked because its schedule could not be read. | |
| sailings | No | Scheduled sailings for this route and date. | |
| tripDate | No | Date of the schedule (ISO 8601). | |
| annotations | No | Notes WSF attaches to this pair's sailings (vehicle restrictions, routing, delays), converted from HTML to plain text with link destinations kept as "text (url)". Sailings point at the ones that apply to them through annotationIndexes; the previous service day's sailings add the notes they cite that the list lacks. Empty when the pair has none. | |
| sailingNotes | No | A note covering every sailing on this pair (e.g. a boarding-pass requirement), converted from HTML to plain text. Absent when WSF publishes none, which is the case for most pairs. | |
| remainingOnly | No | Whether the result holds only remaining sailings: today's, led before 3 a.m. Pacific by the previous service day's still to depart. False for any date other than today, whatever was requested. | |
| totalSailings | No | Total number of sailings returned, the previous service day's included. | |
| arrivingTerminalName | No | Arriving terminal name. | |
| departingTerminalName | No | Departing terminal name. |