Add Transport Option
add_transport_optionAdd one travel-to-destination option (flight, train, bus, ferry, or car) per itinerary candidate so users can compare cost and travel time; set roundTrip if the price covers the return leg.
Instructions
Propose a way of travelling TO a destination — flight, train, bus, ferry, car. One option per candidate itinerary; add several so the user can compare price against travel time. Set roundTrip when the price covers the return leg too. For moving around once there, use add_getting_around_option instead.
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>",
"destinationKey": "<destinationKey>",
"data": "<data>"
},
"name": "add_transport_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The transport option to propose. | |
| 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. | |
| destinationKey | Yes | Key of the destination inside the variant, from get_trip (e.g. "destination-1"). |