search_flights
Compare flights across airlines and travel portals, then calculate exact final prices including fees, coupons, and card discounts to reveal the true cost.
Instructions
SkyScanner-style Flight Deal Radar: Search and compare flights across direct airline websites (IndiGo, Air India, Akasa Air, SpiceJet) and travel portals (EaseMyTrip, MakeMyTrip, Cleartrip, Ixigo). Computes exact final prices including convenience fees, coupons, and credit card instant discounts.
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Departure airport IATA code or city name (e.g. "DEL", "BOM", "BLR", "VNS", "New Delhi", "Varanasi") | |
| sortBy | No | SkyScanner sort criteria: "cheapest" (lowest net price), "fastest" (shortest duration), or "best" (optimal balance) | |
| userCards | No | Credit/Debit card banks you have to unlock exclusive instant discounts (e.g. ["HDFC", "ICICI", "Axis", "SBI", "Amex", "Kotak", "Federal"]) | |
| cabinClass | No | Cabin class (default: "economy") | |
| directOnly | No | Filter for non-stop direct flights only | |
| passengers | No | Number of passengers (default: 1) | |
| destination | Yes | Arrival airport IATA code or city name (e.g. "BOM", "BLR", "GOI", "Mumbai", "Goa") | |
| departureDate | No | Departure date in YYYY-MM-DD format (defaults to 3 days from now) | |
| departureTimeWindow | No | Time-of-day departure filter: "early_morning" (00:00-06:00), "morning" (06:00-12:00), "afternoon" (12:00-18:00), or "evening" (18:00-24:00) |