search_flights
Search flight inventory by origin, destination, and date. Filter results by airline, maximum price, or preferred time to find matching options.
Instructions
Search the local sample flight inventory. This tool returns fictional/demo flight options and is not connected to live airline availability.
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 | ||
| origin | Yes | ||
| airline | No | ||
| max_price | No | ||
| destination | Yes | ||
| preferred_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |