search_multi_city
Find multi-city flight itineraries by defining two or more legs with origin, destination, and date. Returns first-leg options and a token to fetch next legs.
Instructions
Search a multi-city trip of two or more legs.
Each leg has origin and destination (IATA codes), date (YYYY-MM-DD) and optional times (hour ranges as in search_flights). The result lists the first leg; get_next_flights(departure_token) lists the next one.
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": {
"legs": "<legs>"
},
"name": "search_multi_city"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | Yes | ||
| adults | No | ||
| children | No | ||
| currency | No | EUR | |
| max_stops | No | ||
| cabin_class | No | economy | |
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| offers | Yes | ||
| total_found | Yes | ||
| price_insights | Yes | ||
| google_flights_url | Yes |