Generate claim letter
generate_claim_letterDraft a formal EU261/UK261 compensation claim letter (subject, legal basis, amount, 14-day payment request, escalation notice) for the passenger to send themselves, plus sending tips. Nothing is sent. Use after check_compensation and pass its amount. Do NOT use to check eligibility; 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": {
"passenger_name": "<passenger_name>",
"airline_name": "<airline_name>",
"flight_number": "<flight_number>",
"flight_date": "<flight_date>",
"departure": "<departure>",
"arrival": "<arrival>"
},
"name": "generate_claim_letter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | No | Legal basis. Default: UK261 if departing the UK, else EU261 (without claimed_amount, worked out from the route; errors if neither applies). | |
| arrival | Yes | Arrival airport 3-letter IATA code, case-insensitive, e.g. JFK | |
| currency | No | Currency of the claim. Default GBP for UK261, EUR for EU261. | |
| departure | Yes | Departure airport 3-letter IATA code, case-insensitive, e.g. LHR | |
| flight_date | Yes | Scheduled flight date, YYYY-MM-DD, e.g. 2026-09-01 | |
| airline_name | Yes | Operating airline, e.g. "British Airways" | |
| flight_number | Yes | Flight number, e.g. BA117 | |
| claimed_amount | No | Amount claimed, e.g. 600. If omitted, computed from the route like check_compensation (EUR 250/400/600 or GBP 220/350/520 by distance); required if an airport is unknown. | |
| passenger_name | Yes | Passenger's full name as on the booking, e.g. "Jane Smith" | |
| incident_summary | No | One sentence on what happened, e.g. "the flight arrived 4 hours late due to a technical fault". Default generic wording. | |
| booking_reference | No | Booking/PNR reference, e.g. ABC123. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| letter | Yes | Full letter text, ready to copy and send. | |
| scheme | Yes | Legal basis used in the letter. | |
| subject | Yes | Suggested email or letter subject line. | |
| disclaimer | Yes | Not-legal-advice disclaimer to show the user. | |
| sending_tips | Yes | Practical tips for sending and follow-up. | |
| claimed_amount | Yes | Amount and currency claimed. |