Compose a letter
compose_letterUse this when the user wants to write a new paper letter from text and post it, for example to cancel a contract, subscription or membership by letter, file a complaint or objection, or send a formal notice, by ordinary or registered mail. Renders an A4 letter (DIN 5008 layout: sender block with the user's own name and address, recipient, place and date, subject, body, closing, signature) that passes the print check, and creates a draft with the exact price. Nothing is sent or charged: show the user the draft and the total, ask for confirmation, then call send_letter. The sender can live in any country. Body supports paragraphs (blank line), '- ' bullets, '1. ' lists and bold. Needs the user's account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Letter text including the salutation (e.g. 'Dear Sir or Madam,'), without closing or signature | |
| date | No | ISO date; defaults to today | |
| color | No | bw | |
| place | No | Place shown next to the date, e.g. the sender's city | |
| duplex | No | ||
| sender | Yes | The user's own name and address (any country), printed in the letter's sender block (the envelope always shows our return address) | |
| closing | No | e.g. 'Kind regards' (default by language) | |
| subject | Yes | ||
| envelope | No | ||
| language | No | Language of the letter, e.g. en, de, fr — sets date format and default closing | en |
| recipient | Yes | ||
| signature | No | Name under the closing; defaults to the sender name | |
| references | No | Lines like 'Customer no. 12345' | |
| registered | No | Registered mail (tracking + signature on delivery), e.g. for cancellations and deadlines |