Disruption rights
disruption_rightsList passenger rights for a disruption: first works out whether EU261/UK261 covers the route (as check_compensation does), then gives refund/re-routing, care by band, 5-hour refund, notice-based cancellation compensation rules, denied boarding and escalation. If no scheme applies, gives general guidance only. Does not compute money owed; use check_compensation.
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": {
"departure": "<departure>",
"arrival": "<arrival>",
"disrupted": "<disrupted>"
},
"name": "disruption_rights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arrival | Yes | Arrival airport 3-letter IATA code, case-insensitive, e.g. FCO | |
| departure | Yes | Departure airport 3-letter IATA code, case-insensitive, e.g. CDG | |
| disrupted | Yes | What happened: delayed, cancelled, or denied_boarding (bumped/overbooked). | |
| notice_days | No | For cancellations: days of notice given, e.g. 3. 14+ days means no fixed compensation (refund/re-routing and care still apply); under 14 sets the re-routing conditions. | |
| carrier_country | No | Operating airline's 2-letter country code, e.g. DE. Needed for flights arriving into the EU/UK from outside. | |
| arrival_delay_hours | No | For delays: hours late, e.g. 5. At 5h+ the refund option is added. Default 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| band | Yes | Distance band, or 'unknown' if an airport is not recognised. | |
| scheme | No | Scheme covering the route; none = EU261/UK261 do not apply (general guidance only); unknown = airport not recognised. | |
| disrupted | Yes | Disruption type that was assessed. | |
| disclaimer | Yes | Not-legal-advice disclaimer to show the user. | |
| distance_km | Yes | Route distance in km, or null if an airport is unknown. | |
| complaint_path | Yes | Escalation steps from airline to regulator to court. | |
| entitled_rights | Yes | Rights that apply under the scheme, or general guidance when no scheme applies, one per entry. | |
| jurisdiction_reason | No | Why that scheme does or does not apply. |