Search flights
search_flightsCheapest one-way flights between two cities, or from one city to anywhere. Dates are a departure window; a specific destination is checked against the airlines live when its prices are missing.
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>",
"date_from": "<date_from>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Arrival city name; omit to search anywhere. | |
| from | Yes | Departure city name, exactly as returned by search_cities. | |
| limit | No | Maximum number of flights to return, default 20, max 50. | |
| date_to | No | Latest departure date, YYYY-MM-DD; defaults to date_from. | |
| date_from | Yes | Earliest departure date, YYYY-MM-DD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| flights | Yes |