plan_route
Plan a multimodal A→B route between two trail sections (islands), or between an island and a mainland ferry hub (Strömkajen, Vaxholm, Årsta, Stavsnäs …): walk → ferry → walk, with departure/arrival times, walking distances and pier names. Use this when the user wants to travel from one island to another, out to an island from the mainland, or home from an island (or asks how to get between two places on the trail). From/to take the same identifiers as fetch (sat:section:…, slug or uid). Same section for both returns a walk-only route. Do not use for a round trip to a single island (use day_trip) or for multi-day trips (use multi_day). If the user has not named the two islands, pick two neighbouring stages with search first and then call this tool. IMPORTANT: every call to this tool renders a card in the conversation. Call it at most ONCE per answer, for the single option you recommend. Never use it to compare or probe alternatives. The card already shows ferry times, piers and walking times — do not restate them in your reply; add only advice, caveats and next steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination: a section reference (e.g. 'moja') or a mainland ferry hub (e.g. 'arsta'). | |
| date | No | Travel date, YYYYMMDD (Europe/Stockholm), e.g. 20260905. Defaults to today. | |
| from | Yes | Start: a section reference (satId, slug or uid, e.g. 'uto') or a mainland ferry hub (e.g. 'stromkajen', 'vaxholm', 'arsta'). | |
| 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. | |
| time | No | Earliest departure, HHMM (24h). Defaults to 0900. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| date | Yes | YYYYMMDD. | |
| from | Yes | ||
| time | No | Earliest departure "HHMM". | |
| route | Yes | Geometry-free route result. kind "ok" carries bestAny/bestBoatOnly with walk legs (distances, pier names) and ferry legs (departure/arrival, line, booking). kind "walk-only" is a same-island walk. Other kinds describe why no route was found. | |
| toTitle | No | ||
| fromTitle | No | ||
| permalink | No |