Select Variant
select_variantMark one variant as the trip's chosen plan. Use when the user decides between alternatives; the choice is reversible, so selecting a different variant later is fine.
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": "select_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. |