Generate the chase letter for the current stage
letter_renderChase an unpaid invoice: generate the letter for the current stage of the ladder -- reminder 1 (polite), reminder 2 (firm, with the late fees note) or the final notice (before-action wording) -- as Markdown or as self-contained printable HTML. Nothing is emailed or sent anywhere: this server produces the letter text, and sending it is your act. Record the sending with letter_sent so the ladder advances.
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": {
"invoice": "<invoice>"
},
"name": "letter_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | The letter's date, YYYY-MM-DD; late fees accrue to it and the final-notice deadline is 7 days after it. Default today | |
| stage | No | Render a specific stage instead of the one currently due, to preview or to re-issue a letter already sent | |
| format | No | markdown (default) or html: a self-contained printable page with no external anything | |
| invoice | Yes | The chased invoice: its id (DUN-2026-0001) or its invoice reference |