search_multi_city
Find multi-city flight itineraries with 2-5 legs, returning leg-by-leg options via departure tokens. Defaults to Business class, Star Alliance, and EUR.
Instructions
Search for multi-city/multi-leg flights (2-5 legs). Primary tool for complex itineraries. Returns Leg 1 options first — use departure_token from results to fetch subsequent legs. Each leg costs 1 API search. Defaults: Business class, Star Alliance, EUR.
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 | Array of flight legs in order | |
| airlines | No | Comma-separated airline/alliance codes to include | |
| travel_class | No | 1=Economy, 2=Premium Economy, 3=Business (default), 4=First | |
| departure_token | No | Token from a previous multi-city search to get the next leg. When provided, legs parameter is still required but only used for context. |