search_flights
Search for bookable non-stop flights on a route and departure date for one adult. Retrieve a list of flight offers with pricing and availability.
Instructions
Search bookable flights for a route and date (non-stop, one adult).
Args: origin: Origin IATA airport code, e.g. "NCE". destination: Destination IATA airport code, e.g. "CDG". departure_date: ISO format "YYYY-MM-DD". max_results: Maximum number of offers to return (default 5).
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>",
"departure_date": "<departure_date>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | ||
| destination | Yes | ||
| max_results | No | ||
| departure_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |