calculate_flight_card_discount
Calculates the applicable bank card discount, promo code, and exact net price for a flight booking using the provider, booking amount, and user cards.
Instructions
Calculate the maximum bank discount, promo code, and exact net price for a given flight booking amount and user cards.
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": {
"bookingAmount": "<bookingAmount>",
"provider": "<provider>"
},
"name": "calculate_flight_card_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Booking provider (e.g. "EaseMyTrip", "MakeMyTrip", "Cleartrip", "IndiGo Direct") | |
| userCards | No | User card banks (e.g. ["HDFC", "ICICI", "Axis", "SBI", "Amex"]) | |
| bookingAmount | Yes | Published flight booking amount (₹) |