Update a journey
update_journeyUpdate journey status or notes, or replace its route by id. Set status completed only after the user confirms travel happened as recorded. Omitted status stays unchanged, including after date edits. Status/notes-only updates leave every leg unchanged. Any route, timing, or transport change requires the complete desired legs[] array, which replaces ALL existing legs. Prefer get_journey first so per-leg details are preserved. Journey routes are ordered legs[], one entry per continuous movement. Airside connections stay one journey with multiple legs; if the traveler left the airport or cleared immigration, split into separate journeys. Domestic/never-left-country journeys are valid but ignored for day counts. Journey output leg times are departureAt/arrivalAt; write inputs use departureDate/arrivalDate. If unfamiliar with TripLedger semantics, call get_tripledger_guide first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the journey to update. | |
| legs | No | Ordered route legs. On update, replaces every existing leg rather than merging. Omit for notes-only. | |
| notes | No | ||
| status | No | ||
| participantIds | No | Complete replacement traveler-ID set. Omit to keep current travelers; use list_people. |