Tool tree
AI-powered flight disruption assistance application with automated route jurisdiction calculation, DGCA/EU261 rights analysis, real WebMCP agent integration, and human-in-the-loop claim drafting.
Implementation
gradeNot graded
gradeNot graded
analyze_flight_caseAction
Update the live flight disruption case, recalculate route distance, and run statutory aviation rights analysis.
View tool JSON
{
"name": "analyze_flight_case",
"kind": "act",
"impl": "imperative",
"description": "Update the live flight disruption case, recalculate route distance, and run statutory aviation rights analysis.",
"inputSchema": {
"type": "object",
"properties": {
"airline": {
"type": "string",
"description": "Airline operating the flight (e.g. IndiGo, Air India, Lufthansa)"
},
"flight_number": {
"type": "string",
"description": "Flight number (e.g. 6E-204, AI-101, LH-756)"
},
"origin_iata": {
"type": "string",
"description": "3-letter IATA code for departure airport (e.g. BOM, DEL, BLR, LHR)"
},
"destination_iata": {
"type": "string",
"description": "3-letter IATA code for arrival airport (e.g. AMD, BLR, CDG, JFK)"
},
"flight_date": {
"type": "string",
"description": "Date of travel in YYYY-MM-DD format"
},
"disruption_type": {
"type": "string",
"enum": [
"delayed",
"cancelled",
"denied_boarding",
"missed_connection"
],
"description": "Category of flight disruption"
},
"delay_hours": {
"type": "number",
"description": "Duration of delay in hours"
},
"delay_minutes": {
"type": "number",
"description": "Duration of delay in minutes"
},
"airline_reason": {
"type": "string",
"description": "Airline stated reason (e.g. Technical snag, Weather, Crew issue)"
},
"informed_window": {
"type": "string",
"enum": [
"less_than_24h",
"24h_to_2w",
"more_than_2w",
"at_airport"
],
"description": "When the passenger was informed of the cancellation"
},
"alternate_offered": {
"type": "string",
"enum": [
"none",
"within_2h",
"within_6h",
"next_day",
"refund_only"
],
"description": "Replacement flight timing offered by airline"
},
"basic_fare": {
"type": "number",
"description": "Booked Basic Fare from ticket receipt"
},
"fuel_charge": {
"type": "number",
"description": "Booked Airline Fuel Charge (YQ/YR)"
},
"scheduled_block_time_hours": {
"type": "number",
"description": "Scheduled flight duration in hours"
},
"passenger_name": {
"type": "string",
"description": "Passenger full name"
},
"booking_reference": {
"type": "string",
"description": "PNR / Booking confirmation reference"
}
},
"required": [
"disruption_type"
]
}
}get_case_summaryAnswer
Retrieve the real-time state, route calculation, jurisdiction analysis, and claim approval status from the live application.
View tool JSON
{
"name": "get_case_summary",
"kind": "answer",
"impl": "imperative",
"description": "Retrieve the real-time state, route calculation, jurisdiction analysis, and claim approval status from the live application.",
"inputSchema": {
"type": "object",
"properties": {}
}
}prepare_passenger_requestAction
Draft a formal airline claim / compensation notice tailored to the live case and aviation regulations.
View tool JSON
{
"name": "prepare_passenger_request",
"kind": "act",
"impl": "imperative",
"description": "Draft a formal airline claim / compensation notice tailored to the live case and aviation regulations.",
"inputSchema": {
"type": "object",
"properties": {
"passenger_name": {
"type": "string",
"description": "Passenger full name"
},
"passenger_email": {
"type": "string",
"description": "Passenger email address"
},
"passenger_phone": {
"type": "string",
"description": "Passenger phone number"
},
"booking_reference": {
"type": "string",
"description": "Airline PNR booking reference"
},
"custom_notes": {
"type": "string",
"description": "Additional specific passenger statements or out-of-pocket expenses"
}
}
}
}approve_and_fill_demo_formAction
Populate the airline demo claim submission form with approved case data. STRICT REQUIREMENT: Fails if the human passenger has not clicked Approve Draft.
View tool JSON
{
"name": "approve_and_fill_demo_form",
"kind": "act",
"impl": "imperative",
"description": "Populate the airline demo claim submission form with approved case data. STRICT REQUIREMENT: Fails if the human passenger has not clicked Approve Draft.",
"inputSchema": {
"type": "object",
"properties": {
"override_confirmation": {
"type": "boolean",
"description": "Set to true only if passenger gave explicit confirmation"
}
}
}
}query_disruption_rightsAnswer
Query statutory aviation rights, meal entitlements, and compensation brackets for a given route and disruption.
View tool JSON
{
"name": "query_disruption_rights",
"kind": "answer",
"impl": "imperative",
"description": "Query statutory aviation rights, meal entitlements, and compensation brackets for a given route and disruption.",
"inputSchema": {
"type": "object",
"properties": {
"originIata": {
"type": "string",
"description": "3-letter IATA code for departure airport (e.g. BOM, DEL, LHR)"
},
"destinationIata": {
"type": "string",
"description": "3-letter IATA code for arrival airport (e.g. AMD, BLR, JFK)"
},
"delayHours": {
"type": "number",
"description": "Duration of delay in hours"
},
"disruptionType": {
"type": "string",
"description": "Category of flight disruption (delayed, cancelled, denied_boarding)"
}
}
}
}set_flight_case_detailsAction
Update flight case parameters and update the application UI in real-time.
View tool JSON
{
"name": "set_flight_case_details",
"kind": "act",
"impl": "imperative",
"description": "Update flight case parameters and update the application UI in real-time.",
"inputSchema": {
"type": "object",
"properties": {
"airline": {
"type": "string",
"description": "Airline operating the flight"
},
"flightNumber": {
"type": "string",
"description": "Flight number (e.g. AI-101, 6E-5342)"
},
"originIata": {
"type": "string",
"description": "3-letter IATA code for departure airport"
},
"destinationIata": {
"type": "string",
"description": "3-letter IATA code for arrival airport"
},
"disruptionType": {
"type": "string",
"description": "Disruption type"
},
"delayHours": {
"type": "number",
"description": "Duration of delay in hours"
},
"passengerName": {
"type": "string",
"description": "Passenger full name"
}
}
}
}