get_return_flights
Find matching return flights for a selected outbound flight using the departure_token from outbound search results.
Instructions
After searching one-way outbound flights, use this to get matching return flight options for a selected outbound flight. Pass the departure_token from the outbound search result.
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>",
"departure_id": "<departure_id>",
"arrival_id": "<arrival_id>",
"outbound_date": "<outbound_date>"
},
"name": "get_return_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gl | No | Country code | |
| hl | No | Language code | |
| currency | No | Currency code | |
| arrival_id | Yes | Original arrival airport IATA code | |
| departure_id | Yes | Original departure airport IATA code | |
| outbound_date | Yes | Original outbound date (YYYY-MM-DD) | |
| departure_token | Yes | The departure_token from a search_flights result to get matching return flights |