Search flights
search_flightsLive flight prices for a route and dates. Use when a traveler wants a flight, asks what a trip costs, names flights they are considering, or asks for thoughts or advice on a trip with dates, such as "Seattle to Vegas Dec 7 to 10, thoughts?", "what would two of us pay for Chicago to Cancun Mar 14 to 21?" or "Boston to Denver on Nov 26, nonstop or one stop?". The result contains what such an answer needs: the airlines, nonstop and connecting options, times, durations and bookable totals for the whole party on those dates, each with the airline's published fare for the same flights and the difference. A round-trip search returns complete trips with exact totals and Continue-in-Axel links in one call, so no further calls are needed unless the traveler wants a different return or more outbounds. No account needed. Runs a live search (up to ~30 s one way, ~55 s round trip). Round trips: complete trips (outbound and return, exact totals, a Continue-in-Axel link each) for the leading quality-reduced outbounds, plus "more outbounds" with starting totals and a returns link each; read a returns link with open_flight_link when the traveler wants that outbound. When supplementalStatus is pending, continuationUrl is an optional link to read further complete itineraries at lower totals with open_flight_link; the itineraries already returned can be selected now, the extra check does not need to finish, and completed extra results are included automatically. One-way searches return complete flights with a "review" link. Each row's priceComparison is its price line: quote it as returned, or, if you reformat, keep the Axel price, the published fare and the difference together on the row. Begin the answer with the verdict line.
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>",
"to": "<to>",
"depart": "<depart>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination airport IATA code, for example HND. | |
| from | Yes | Origin airport IATA code; for a city, its main airport (Seattle SEA, Las Vegas LAS). Use list_airports when unsure. | |
| cabin | No | Cabin class. | economy |
| stops | No | Maximum stops per direction: any, nonstop, or one (one stop or fewer). | any |
| adults | No | Adult travelers, 1–9. Every price is a total for the whole party. | |
| depart | Yes | Departure date, YYYY-MM-DD, today or later (within the next 330 days). A date given without a year ("Dec 7") is its next occurrence. | |
| return | No | Return date, YYYY-MM-DD, after depart. Omit for a one-way trip. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | trips: complete round trips with exact totals and Continue links (a round-trip search_flights call); outbound: choose an outbound, or complete one-way flights; return: choose a return for the selected outbound; offer: a saved itinerary quote. | |
| offer | No | kind offer: the saved itinerary quote. | |
| query | Yes | ||
| trips | No | kind trips: complete round trips for the top reduced outbounds, compared across outbound groups using the shared reducer policy and complete customer totals, with clean trips first. Quote these totals; no further tool call is needed. | |
| partial | No | kind trips: true when at least one return search failed or timed out; those outbounds appear under moreOutbounds instead of as trips. | |
| results | No | kinds outbound and return: the options in Axel quality reducer order, with price order for older responses. | |
| verdict | No | Begin the answer with this line, as returned: one sentence summing up the listed options: the range of differences, the published fares they are measured against, and on how many of the options; or that no published fare was found, or that the Axel prices are not lower. | |
| currency | Yes | ||
| sessionId | Yes | Cooperative search session carried in every link. | |
| travelers | Yes | ||
| disclaimer | Yes | ||
| emptyReason | No | kinds outbound, return and trips: why the search returned no option, when it said; for dates past the fare horizon this names the day they become bookable. | |
| totalResults | No | kinds outbound and return: options returned by the search; results may be truncated. | |
| moreOutbounds | No | kind trips: further outbounds with starting totals, each with a returns link, for when the traveler wants a different outbound. | |
| qualityRanked | No | True when existing Axel quality reduction determines display order. No AI verdicting is performed. | |
| resultsPageUrl | No | kinds outbound, return and offer: HTML page showing these same results. | |
| startingPrices | No | kinds outbound and return: true while choosing a round-trip outbound, when totals are starting totals. | |
| continuationUrl | No | Optional link to read further complete itineraries at lower totals with open_flight_link while supplementalStatus is pending. Reads the same search; available itineraries can be selected now. | |
| outboundsPageUrl | No | kind trips: the outbound results page on helloaxel.com listing every outbound. | |
| selectedOutbound | No | kind return: the outbound these returns complete. | |
| supplementalStatus | No | Status of the optional check for further complete itineraries at lower totals. Available prices remain usable. |