search_flights
Refresh a route's future flight prices by searching each leg, saving results to history, and updating the Excel file; returns a summary now or continues in the background.
Instructions
Refresh a route's prices: search every leg with a future date, store the search in the history and update the Excel file. If it finishes within wait_seconds (max 110) the summary is returned right away; otherwise it keeps running in the background and get_summary reads it later.
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": {
"route": "<route>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | ||
| wait_seconds | No |