search-flights
Search for flights between two cities with specific dates, cabin class, and sorting preferences to find suitable travel options.
Instructions
search for flights
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>",
"departDate": "<departDate>",
"returnDate": "<returnDate>",
"cabinClass": "<cabinClass>",
"sort": "<sort>"
},
"name": "search-flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The arrival city | |
| from | Yes | The departure city | |
| sort | Yes | The sort order of the flights, optional | |
| cabinClass | Yes | The cabin class of the flight, optional | |
| departDate | Yes | The departure date, required | |
| returnDate | Yes | The return date, optional |