search_flights
Search flights by exact legs, party size, market, and local time windows to compare prices and durations across carriers. Define stops, cabin, and currency filters to narrow results.
Instructions
Search by explicit flight legs, exact party, market, and local time windows. The optional partner source must be selected explicitly.
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_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | Yes | ||
| sort | No | price | |
| cabin | No | economy | |
| limit | No | ||
| adults | No | ||
| locale | No | BCP 47 locale. If omitted, use the language of the requested market. | |
| market | No | IT | |
| carriers | No | ||
| currency | No | EUR | |
| maxStops | No | ||
| maxTotal | No | ||
| childAges | No | ||
| providers | No | ||
| lapInfants | No | ||
| seatInfants | No | ||
| excludedCarriers | No | ||
| maxDurationMinutes | No | ||
| allowSeparateTickets | No |