Save ferry, bus or train options
save_transport_optionsSaves the ways to make one ferry or road leg of a trip, identified by leg_key from the trip's legs, so the planner shows them with a booking search for the leg's day: each with its mode (ferry, speedboat, bus, minivan, train, taxi, flight for a small plane such as a safari fly-in, combined; drive for the traveller's own car and walk for going on foot, which have nothing to book: no booking site is attached, and the price of a drive is the fuel and tolls, per vehicle), operator, usual departure and arrival times, journey length, usual price and where it leaves from. They replace the options saved for the leg before. Times and prices are shown as usual ones, to check on the booking site (a drive or walk has no booking).
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": "save_transport_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leg_key | Yes | ||
| options | No | ||
| trip_id | Yes | ||
| overland | No | True for a leg Got a Plan worked out as a flight that the traveller will make overland (train, bus, boat or drive) instead: it becomes a ground leg that options can be saved for; false puts it back as a flight |