search_flights
Search live flight prices and itineraries between two airports on a date (one-way or round-trip). Returns options sorted cheapest-first with airline, duration and stops.
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": {
"from": "<from>",
"to": "<to>",
"depart_date": "<depart_date>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination airport IATA code, e.g. 'BKK' | |
| from | Yes | Origin airport IATA code, e.g. 'SFO' | |
| adults | No | Number of adults (default 1) | |
| depart_date | Yes | Departure date YYYY-MM-DD | |
| return_date | No | Return date YYYY-MM-DD (optional; omit for one-way) |