Choose a ferry, bus or train for a leg
choose_transportSaves the ride the traveller picked for one ferry or road leg of a trip: option is its position in the options saved for the leg, counted from 0. After the trip's dates moved, same_ride keeps the ride chosen for the old date on the leg's new date instead (not booked; its times are the usual ones, to check on the booking site). Booking itself happens on the booking site; mark_leg marks it booked. clear_flight removes the choice again.
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>",
"leg_key": "<leg_key>"
},
"name": "choose_transport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| option | No | ||
| leg_key | Yes | ||
| trip_id | Yes | ||
| same_ride | No | True to keep the ride chosen for this hop before its date moved, on the new date |