Update Variant
update_variantRename a variant, change its dates (exact dates or a flexible window), edit its notes, or set who is travelling. Returns the variant as it now stands — read the response to confirm your change landed rather than assuming it did.
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": "update_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Fields to change. Omitted fields are left as they are. | |
| 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. |