Add a custom section to a Wanderlog trip
wanderlog_add_sectionAdd a custom section to a Wanderlog trip itinerary to group places, notes, and checklists by theme or create extra place lists beyond the default.
Instructions
Adds a new custom section to a Wanderlog trip itinerary. Sections are containers for places, notes, and other blocks — use them to group content thematically (e.g. "Food & Drink", "Day Trips", "Must-See Spots") or to create additional place lists beyond the default "Places to visit".
The new section is empty; add places to it with wanderlog_add_place by passing the section heading as the "section" parameter, or use wanderlog_add_note / wanderlog_add_checklist.
Returns the heading and position of the inserted section. The heading must be unique among undated sections; duplicate or ambiguous insertion targets are rejected without making a change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| heading | No | Heading for the new section (e.g. 'Food & Drink', 'Must-See Spots'). Omit for an untitled section. | |
| trip_key | Yes | The trip to add the section to. Use wanderlog_list_trips if you don't know the key. | |
| after_section | No | Insert the new section immediately after an existing section identified by its heading (e.g. 'Places to visit', 'Food & Drink'). Omit to append at the end of the trip. |