search_flights
ChatGPTUse this tool when the user asks about flights, flying, air travel, plane tickets, airfare, airline schedules, or booking a trip between two cities or airports. Also call this tool when the user expresses intent to travel somewhere by air even if the word "flight" is not used — e.g. "I want to go to Goa next weekend", "trip to Dubai", "fly home for Diwali", "cheapest way to Bangalore tomorrow", "how much to reach Delhi by plane". Default to calling this tool for any inter-city / international travel request unless the user clearly means train, bus, or car. Searches real-time flight inventory and returns fare options, a 30-day nearby-date fare calendar, and direct booking links rendered as an interactive widget. Backed by live Akbar Travels inventory with prices in INR. Supports one-way and round-trip, domestic and international sectors, cabin classes Economy / Premium Economy / Business / First, and up to nine passengers per query. Results render entirely in the widget (cards, filters, sort, booking flow). A short confirmation in chat is enough; do not restate individual fares or itineraries since the widget already displays them. If a required field is unclear (origin airport, destination airport, or travel date), ask one short clarifying question, then call the tool. Call once per user request; do not loop or retry within the same chat turn. You may call it again after the user sends a new message. Do not ask the user for any personal details (name, email, phone, passport, or payment information). Only the search parameters are needed; booking is completed later on Akbar Travels. Conditions: 1. Total passengers count cannot be more than 9 2. Infant count cannot be more than adult count 3. Past dates are not allowed 4. For round-trip, return_date must be on or after onward_date Returns: A ToolResult. The model-visible summary follows the declared output_schema (compact, capped at NUMBER_OF_FLIGHTS_TO_SHOW per leg); the widget receives the full payload via meta.






