Update a Wanderlog trip's date range
wanderlog_update_trip_datesUpdate the date range of an existing Wanderlog trip while preserving content on overlapping days and preventing accidental data loss.
Instructions
Changes the date range of an existing Wanderlog trip. Preserves content on days that remain in the new range (they're kept in place with their blocks intact), adds empty day sections for newly-included days, and removes day sections for days no longer in range.
SAFETY: If the new range would delete days that currently contain places or notes, the tool refuses by default and returns a list of the content that would be lost. Pass force: true to override, or move the content to other days first.
Does not affect the Hotels, Flights, Transit, or Places-to-visit sections — only the per-day sections are added/removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_key | Yes | The trip to update. | |
| start_date | Yes | New first day of the trip, YYYY-MM-DD. | |
| end_date | Yes | New last day of the trip, YYYY-MM-DD. Must be >= start_date. | |
| force | No | If true, allows the update even when it would delete days that currently contain places. DEFAULT false — the tool refuses destructive removes with a helpful error listing what would be lost, so the user can move content first. |