Add trip item
add_trip_itemAdd an item (hotel, activity, meal, etc.) to a saved trip on a given day.
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": {
"itineraryPublicId": "<itineraryPublicId>",
"day": "<day>",
"type": "<type>",
"title": "<title>"
},
"name": "add_trip_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | Day number within the trip. | |
| type | Yes | Item type. | |
| title | Yes | Item title (1-255 chars). | |
| sortOrder | No | Order within the day (default 0). | |
| description | No | Optional notes (≤2000 chars). | |
| itineraryPublicId | Yes | The trip's public id (from `list_trips`/`save_trip`). |