Search Flights on Tripuck
search_flightsTripuck flight meta-search — real-time fare comparison across 700+ airlines and 50+ online travel agencies. Use this tool when the user asks for flight prices, e.g. "Istanbul to Antalya tomorrow", "cheapest Paris ticket", "yarın Londra'ya uçuş", "رحلة إلى دبي غداً", "Flüge nach Berlin". Inputs: IATA codes (IST, AYT, LHR...) and dates in YYYY-MM-DD. Results deep-link to Tripuck.com for detailed review and booking. The LLM MUST infer the user language from the conversation and pass it via the locale parameter ("tr" Turkish, "en" English, "ar" Arabic, "az" Azerbaijani, "de" German, "ka" Georgian, "uz" Uzbek). All widget UI text and the text response are then returned in that language. If currency is not specified, a sensible default is picked from the locale (tr→TRY, en→USD, de→EUR, ar→USD, az→AZN, ka→GEL, uz→UZS).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | Adult passengers (12+ years). | |
| locale | No | User language as BCP-47 or 2-letter code. Supported: "tr" Turkish, "en" English, "ar" Arabic, "az" Azerbaijani, "de" German, "ka" Georgian, "uz" Uzbek. The LLM MUST infer this from the conversation and pass it explicitly; widget UI and response text will be rendered in this language. | |
| origin | Yes | Departure IATA code (3 letters). Examples: "IST" Istanbul, "AYT" Antalya, "LHR" London Heathrow. | |
| infants | No | Infant passengers (0-2 years). | |
| children | No | Child passengers (2-11 years). | |
| currency | No | ISO 4217 currency code. Examples: TRY, USD, EUR, AZN, GEL, UZS. If omitted, a sensible default is picked from the locale (tr→TRY, en→USD, de→EUR, ar→USD, az→AZN, ka→GEL, uz→UZS). | |
| cabinClass | No | Cabin class. | economy |
| returnDate | No | Return date in YYYY-MM-DD — only for round-trip. Must be today or future, and after `departureDate`. | |
| destination | Yes | Arrival IATA code (3 letters). The LLM should translate city names to IATA codes. | |
| departureDate | Yes | Departure date in YYYY-MM-DD. MUST be today or in the future. IMPORTANT: do NOT default the year to your training-time "current year" — use the actual upcoming travel date the user intends; if the user does not specify a year, infer it from the conversation date context (often the current calendar year or next year). |