pier_departures
List the scheduled Waxholmsbolaget ferry departures (or arrivals) at one pier or harbour of the Stockholm Archipelago Trail on a given date, within a time window: departure time, line, destination and stops on the way, arrival time at the final stop, whether advance booking is required, and which boat is the last of the day. Use this when the user asks what boats leave from or arrive at a specific pier or island ("which boats leave Grinda this afternoon?", "when is the last ferry back from Utö tonight?"). The pier can be given by name (island or pier, e.g. 'Grinda', 'Stavsnäs'), slug or id (sat:pier:…, GTFS stop id); when a name matches several piers the response lists them (kind 'ambiguous') — ask the user or pick the obvious one and call again. Renders no card. Do not use for planning a whole trip (use day_trip/plan_route) or for lodging and places (use search).
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": {
"pier": "<pier>"
},
"name": "pier_departures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Latest time, HHMM or HH:MM (24 h). OPTIONAL — omit for 23:59. | |
| date | No | Date, YYYYMMDD (Europe/Stockholm), e.g. 20260905. OPTIONAL — omit for today. | |
| from | No | Earliest time, HHMM or HH:MM (24 h), e.g. '1400' for 'this afternoon'. OPTIONAL — omit for now (today) or 00:00 (other dates). | |
| lang | No | Language of the user's message: 'sv' when the user writes in Swedish, otherwise 'en'. Always pass it — labels, dates and the card are rendered in this language. | |
| pier | Yes | Pier reference: name ('Grinda', 'Södra Grinda', 'Strömkajen'), slug, sat:pier:… id or GTFS stop id. | |
| limit | No | Max rows, 1–50. OPTIONAL — default 20. | |
| direction | No | 'departures' (default) = boats leaving the pier; 'arrivals' = boats arriving at it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window end, HH:MM | |
| date | No | YYYYMMDD | |
| from | No | Window start, HH:MM | |
| kind | Yes | ||
| pier | No | ||
| total | No | Rows in the window before `limit` was applied. | |
| direction | No | ||
| timetable | No | kind = out-of-range: the dates the timetable covers. | |
| candidates | No | kind = ambiguous: the piers that matched. | |
| departures | No | Sorted by time. For arrivals the rows carry from/departure instead of to/arrival. | |
| timetableValidTo | No | Last date of the loaded timetable, YYYY-MM-DD. | |
| suggestedFollowUps | Yes |