Elegir un vuelo u hotel del viaje
trip_chooseChoose one of the flight or hotel options Wizzo showed in trip_chat, for the trip trip_id: kind is "vuelo" or "hotel", cache_id is the card's cache_id and id the option's id. It saves the choice in the trip (as the web does when the traveller taps «Elegir») and tells Wizzo, who answers with the next step. Only choose what the traveller picked. A choice made by tapping «Elegir» on the card is already saved: do not call trip_choose for it, read Wizzo's answer with trip_chat and the turn_id you were given.
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": {
"trip_id": "<trip_id>",
"kind": "<kind>",
"cache_id": "<cache_id>",
"id": "<id>"
},
"name": "trip_choose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the chosen option. | |
| kind | Yes | ||
| trip_id | Yes | The trip id. | |
| cache_id | Yes | The cache_id of the card the option came from. |