Set trip preferences
set_preferencesSaves the preferences the traveller has stated about a trip. A field not sent is left as it is. A list that is sent replaces the saved list, so an anchor or item left out of it is removed. Without a trip_id it creates a trip, which needs a destination. New dates on a trip with a plan move or cut the plan; earlier versions are kept.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_preferences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pace | No | ||
| notes | No | Replaces the whole list; [] clears it. | |
| party | No | ||
| avoids | No | Replaces the whole list; [] clears it. | |
| budget | No | ||
| origin | No | ||
| anchors | No | Flights, transport, stays and events the traveller named, in local time with no timezone. The list replaces the saved one: a saved anchor is kept only when sent back with its id, and [] clears it. kind accommodation is a hotel: place holds the stay's name and note the hotel. kind transport covers a speedboat, ferry or car to or from an airport. status considered means not booked; commitment flexible means its time may change. An arriving flight has to_place the first stay, end_date and end_time the landing, and no start_time. A flight home has place the last stay, start_date and start_time the departure, and no to_place. | |
| dietary | No | ||
| trip_id | No | ||
| end_date | No | The day the traveller leaves. | |
| must_dos | No | Replaces the whole list; [] clears it. | |
| party_note | No | ||
| priorities | No | Replaces the whole list; [] clears it. | |
| start_date | No | ||
| travellers | No | ||
| destination | No | ||
| nationality | No | Two-letter code of the passport held. | |
| accessibility | No | ||
| budget_detail | No | ||
| based_on_version | No | ||
| nationality_declined | No | The traveller would rather not say. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip | No | ||
| changed | Yes | ||
| removed | Yes | ||
| accepted | No | ||
| next_action | No | ||
| preferences | No | ||
| couldnt_check | No | ||
| provenance_rules | No | Facts are sourced, unverified, stale or not_checked. Prices are live, estimate or none; hotel and flight prices are never estimated. | |
| couldnt_check_more | No |