Create Variant
create_variantAdd an alternative version of the trip — "Beach option" vs "Mountain option", or the same route on different dates. A trip needs at least one variant before it can hold destinations or options, so create one right after create_trip. Dates live on the variant: either exact start/end dates or a flexible window with min/max nights.
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>",
"data": "<data>"
},
"name": "create_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The new variant's name, dates and notes. | |
| tripId | Yes | Id of the trip, as returned by list_trips or get_trip. |