handle_disruption
Check flight status, assess disruptions, search rebooking options, retrieve policies, and inform passengers of their rights during a flight disruption.
Instructions
Run the full disruption-handling agent for a flight: status check, disruption assessment, rebooking search, policy retrieval and a grounded passenger message.
Args: carrier_code: IATA carrier code, e.g. "AF". flight_number: Flight number, e.g. "1234". departure_date: ISO format "YYYY-MM-DD". scenario: In mock mode only: "delay", "cancellation" or "on_time".
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": {
"carrier_code": "<carrier_code>",
"flight_number": "<flight_number>",
"departure_date": "<departure_date>"
},
"name": "handle_disruption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario | No | delay | |
| carrier_code | Yes | ||
| flight_number | Yes | ||
| departure_date | Yes |