Let our AI plan the days
build_tripLets our AI choose from the same menu under the same rules and place the days, for every stop of the trip. Runs in the background and returns the build status; read progress and the days with get_trip. Writes: fills the days not already placed (fresh true redoes every day) and uses the traveller's AI allowance. Ratings are honoured: love is always included, like when it fits, skip never. Ask once for blocked time before building and pass it. Use when the traveller does not want to pick; use place_picks when they chose items, edit_day or add_stop to change single items afterwards.
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>"
},
"name": "build_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Choose every day again, even days already placed with place_picks (default false: placed days stay as picked). | |
| ratings | No | The traveller's quick ratings from the menu card, as menu ids: love = must be in the plan, like = included when it fits, skip = never. Saved on the trip, so a later build_trip honours them. Text-only clients: ask which they love, like or want to skip, and pass the ids. | |
| trip_id | Yes | The trip's id (trip_id), as returned by start_trip or list_trips. | |
| intent_ref | No | The reference at the end of a chat line an Adonde card posted, e.g. K7Q2MD from "Code: K7Q2MD." (older cards: "(ref K7Q2MD)"). Pass it on its own: the card's exact arguments load on our side. Add only what the line says is still missing (for a route, the travellers). | |
| blocked_time | No | Time to keep clear: the traveller's own plans, a wedding, a work call. The builder seats nothing over these windows. Ask 'Any blocked time I should keep clear?' once before building. |