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.
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": {
"trip_key": "<trip_key>",
"section": "<section>",
"heading": "<heading>"
},
"name": "wanderlog_update_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. |