Add Destination
add_destinationAdd a destination to a trip variant in itinerary order so you can attach accommodation, transport, and local options afterward.
Instructions
Add a place the traveller will stay at within a variant, in itinerary order (e.g. "Lisbon, Portugal"). Destinations are what accommodation, transport and getting-around options attach to, so add these before adding options. Set isReturnToHome for the final leg home.
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>",
"data": "<data>"
},
"name": "add_destination"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The destination to add. | |
| tripId | Yes | Id of the trip, as returned by list_trips or get_trip. | |
| variantId | Yes | Id of the trip variant (an alternative version of the trip), from get_trip. |