Get Ferry Fares
wsdot_get_ferry_faresReturns WSF's fares for one ferry trip between two terminals on a date: every fare line item — passenger, senior and youth, vehicle and driver by length, motorcycle, bicycle, and multi-ride cards — with its amount in dollars, plus WSF's statement of which terminal collects which fares. 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, the same pairs wsdot_get_ferry_schedule accepts. WSF collects most fares in one direction only, so a line reads 0 on a leg whose departing terminal does not collect it: read collectionDescription before quoting a 0 as free travel, and query the reverse direction for where that fare is charged.
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_fares"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tripDate | No | Travel date in ISO 8601 format (YYYY-MM-DD), the Pacific service day. Defaults to today if omitted. | |
| roundTrip | No | When true, each amount is WSF's total for a round trip starting at the departing terminal: twice the one-way fare where both terminals collect it, the one-way fare where the return leg collects nothing, and the whole round-trip charge on a leg out of a terminal that collects nothing. Default: false (one way). | |
| 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. | |
| fares | No | WSF's fare line items for this trip, in WSF's order, which groups them by category. Empty when WSF lists none, which the notice then reports. | |
| notice | No | Present when WSF lists no fare line items for the pair, or when WSF's collection statement and the terminal names could not be read; says which. | |
| tripDate | No | Trip date the fares apply to (YYYY-MM-DD, Pacific service day). | |
| roundTrip | No | Whether the amounts are WSF's round-trip totals (true) or one-way fares (false). | |
| totalCount | No | Number of fare line items returned. | |
| arrivingTerminalName | No | Arriving terminal name. | |
| collectionDescription | No | WSF's statement of which terminal collects which fares on this pair, e.g. "Passenger and vehicle/driver fares are collected at Anacortes, while no fares are collected at Friday Harbor." A fare the departing terminal does not collect reads 0 on this leg. Absent when WSF's statement could not be read, which the notice then reports. | |
| departingTerminalName | No | Departing terminal name. |