Duplicate Variant
duplicate_variantCopy a trip variant, including all destinations and options, into a new variant on the same trip so you can explore changes without losing the original.
Instructions
Copy a variant, with all of its destinations and options, into a new variant on the same trip. Use when the user wants to explore a tweak ("same trip but a week later", "same route, cheaper hotels") without losing the original.
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": {
"tripId": "<tripId>",
"variantId": "<variantId>"
},
"name": "duplicate_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tripId | Yes | Id of the trip, as returned by list_trips or get_trip. | |
| variantId | Yes | Id of the trip variant (an alternative version of the trip), from get_trip. |