Mark a leg booked
mark_legMarks one leg of a trip (a flight, ferry or drive) as booked or not booked yet, with an optional short note such as a departure time or booking reference, and what was paid for it when that differs from the price saved (it counts in the trip's cost).
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>",
"booked": "<booked>"
},
"name": "mark_leg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| price | No | What was paid, total for all travellers | |
| booked | Yes | ||
| leg_key | Yes | ||
| trip_id | Yes | ||
| currency | No |