search_flights
Search for flight deals between two airports on a given date. Returns cash fares and/or award availability from multiple sources (Duffel, SerpApi, Seats.aero).
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": {
"origin": "<origin>",
"destination": "<destination>",
"date": "<date>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Departure date in YYYY-MM-DD format | |
| origin | Yes | IATA airport code for departure (e.g. JFK) | |
| cabinClass | No | Cabin class (default: economy) | |
| returnDate | No | Return date in YYYY-MM-DD format (omit for one-way) | |
| searchType | No | Search for cash fares, award availability, or both (default: both) | |
| destination | Yes | IATA airport code for arrival (e.g. LAX) |