Edit parts of the itinerary
edit_itineraryApplies targeted edits (start_date, stays, transfers, days, stops) to the current version without rewriting the whole plan, and returns the updated plan and next_action.
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_id": "<trip_id>",
"based_on_version": "<based_on_version>",
"change_summary": "<change_summary>",
"edits": "<edits>"
},
"name": "edit_itinerary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | Yes | ||
| trip_id | Yes | ||
| change_summary | Yes | ||
| based_on_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | ||
| plan | Yes | ||
| trip | No | ||
| fixed | Yes | ||
| changed | Yes | ||
| removed | Yes | ||
| accepted | No | ||
| blockers | Yes | ||
| more_new | Yes | ||
| warnings | Yes | ||
| read_back | Yes | ||
| more_fixed | Yes | ||
| next_action | No | ||
| preferences | No | ||
| couldnt_read | Yes | ||
| couldnt_check | No | ||
| more_blockers | Yes | ||
| more_warnings | Yes | ||
| provenance_rules | No | Facts are sourced, unverified, stale or not_checked. Prices are live, estimate or none; hotel and flight prices are never estimated. | |
| couldnt_check_more | No |