get_return_flights
Get return flight options by passing a departure token from an initial search, revealing bookable return alternatives for round-trip or next-leg multi-city itineraries.
Instructions
List the next set of options after selecting a flight.
Pass a departure_token from a round-trip search_flights result (to see
return options) or a multi-city search_multi_city result (to advance to the
next leg). Each returned option has a booking_token usable with
get_booking_options.
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": {
"departure_token": "<departure_token>"
},
"name": "get_return_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | ||
| departure_token | Yes |