Restore deleted trip
trip_restoreRestore a deleted trip owned by the authenticated user, together with the itinerary items that were removed when it was deleted (items deleted separately before that stay deleted). Call without trip_id to list recently deleted trips. Call with trip_id to preview the restore; nothing changes until the user explicitly confirms and you call again with confirmed=true. May re-add the trip to the owner's connected calendars when automatic sync is enabled.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "trip_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_id | No | ID of the deleted trip to restore. Omit to list recently deleted trips. | |
| confirmed | No | True only after the user explicitly confirms restoring this trip. Without it the tool only returns a preview. | |
| expected_deleted_at | No | Optional deleted_at value from the preview. The restore is refused if the trip's deletion has changed since then. |