flight_delay_compensation
Pay-per-call flight compensation check for AI agents. Send the airports, what happened (delay, cancellation, denied boarding), the arrival delay or notice given, and the cause, and get whether UK261 or EU261 applies, the distance, the amount owed per passenger, care rights, step-by-step claim and escalation guidance and a ready-to-send claim letter, as JSON. Errors never charged. Use this when the user's flight was delayed, cancelled or overbooked and they ask whether they are owed compensation under UK261/EU261 and how to claim. Not for: flights entirely outside UK/EU rules (e.g. US domestic). Price: $0.03 USDC per call (x402).
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": {
"from": "<from>",
"to": "<to>"
},
"name": "flight_delay_compensation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Final destination airport code, e.g. JFK, or an unambiguous airport name. Example: JFK | |
| from | Yes | First departure airport code, e.g. LHR, or an unambiguous airport name such as Heathrow (for connecting flights on one booking, the first airport). Example: LHR | |
| type | No | delay (default), cancellation or denied_boarding. Example: delay | |
| cause | No | Reason given: technical, crew_shortage, airline_staff_strike, overbooking, operational, late_inbound_aircraft, weather, air_traffic_control, airport_staff_strike, security, bird_strike, medical_emergency, political_unrest, unknown. Example: technical | |
| delay_hours | No | Hours late arriving at the final destination (for delays). Example: 4.5 | |
| notice_days | No | Days of notice before departure (for cancellations). Example: 3 | |
| airline_region | No | Where the operating airline is based: uk, eu or other (matters for flights into the UK/EU). Example: uk | |
| rerouted_arrival_delay_hours | No | For cancellations or denied boarding: how many hours after the original arrival time the replacement flight arrived. Example: 2.5 |