Toggle Event
toggle_eventSwitch an event between committed and idea status on a trip variant to record decisions while keeping the event in the itinerary.
Instructions
Flip an event between "we are doing this" and "just an idea" on the variant. Use when the user commits to, or backs out of, an activity — this keeps the event around, unlike delete_trip_item.
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>",
"eventKey": "<eventKey>"
},
"name": "toggle_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tripId | Yes | Id of the trip, as returned by list_trips or get_trip. | |
| eventKey | Yes | Key of the event on the variant, from get_trip. | |
| variantId | Yes | Id of the trip variant (an alternative version of the trip), from get_trip. |