get_next_flights
Lists return flights or the next multi-city leg for a flight offer using its departure token, so you can continue planning round-trip or multi-city itineraries.
Instructions
List return flights, or the next multi-city leg, for an offer's departure_token.
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_next_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | ||
| departure_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| offers | Yes | ||
| total_found | Yes | ||
| price_insights | Yes | ||
| google_flights_url | Yes |