Add Transport Option
add_transport_optionPropose 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.
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"). |