Other flights for a package
change_package_flightFor a flight-and-hotel package from search_trips: every other flight for the same route and dates, each priced as a package with the same stay, with what it costs each traveller more or less than the current flight. The Vuelo card uses this for its Change flight list; call it yourself when the traveller asks for other flights for a package, then book the offerId they choose.
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": {
"offerId": "<offerId>"
},
"name": "change_package_flight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offerId | Yes | The package offerId from search_trips |