Remove a chosen flight
clear_flightRemoves the flight, or the ferry, bus or train, saved for one leg of a trip, so the leg shows as not chosen again. It does not cancel any 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": "clear_flight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leg_key | Yes | ||
| trip_id | Yes |