search_flights
Find available flights by airline and flight number or by origin and destination for a departure date, returning flight IDs for later tracking.
Instructions
Search available flights by airline+number OR by origin+destination on YYYY-MM-DD.
Search alone does not add/subscribe to a flight. Discover IDs using the airport/airline/metro lookup tools first. Pass a numeric flight_number without airline prefix. Route search endpoints can be airport or metro IDs.
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": {
"departure_date": "<departure_date>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| via | No | ||
| origin_id | No | ||
| airline_id | No | ||
| origin_kind | No | airport | |
| flight_number | No | ||
| departure_date | Yes | ||
| destination_id | No | ||
| destination_kind | No | airport |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||