Rename a custom section in a Wanderlog trip
wanderlog_update_sectionRenames or clears the heading of a custom section in a Wanderlog trip, identified by its current title. Use it to retitle sections like Food & Drink without creating duplicates.
Instructions
Renames the heading of a custom section in a Wanderlog trip.
Identify the section by its current heading. Use wanderlog_get_trip to see all sections and their current headings if you are unsure. Pass an empty string for "heading" to clear the section title.
Returns a confirmation showing the old and new heading. The current heading must identify exactly one section and the new heading must not duplicate another undated section.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| heading | Yes | New heading for the section. Pass "" (empty string) to clear it back to an untitled section. | |
| section | Yes | The section to update, identified by its current heading (e.g. 'Food & Drink', 'Places to visit'). Use wanderlog_get_trip to see available sections. | |
| trip_key | Yes | The trip containing the section to update. |