Prepare a letter to send (free preview)
preview_letterUse this to send a real letter. Free: it prints, posts and charges nothing. It makes a PDF proof and a Stripe payment link; the letter is printed and posted by Royal Mail 1st class (£3.99) only if the user opens payment_url and pays. sender must be the user's own real name and address: ask them, never guess or reuse one from memory; it is printed on the letter. template: a name from list_templates, with its fields in fields. For free_form, pass the letter text as body. payer_email: the email the user will pay with (ask them, never guess). Limits: UK addresses only, up to 3 pages and 6,000 characters, Latin letters only (no emoji), 5 paid letters per email per day, payment link valid 60 minutes. Each call makes a new order.
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": {
"sender": "<sender>",
"recipient": "<recipient>",
"payer_email": "<payer_email>"
},
"name": "preview_letter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| fields | No | ||
| sender | Yes | ||
| service | No | standard | |
| template | No | free_form | |
| recipient | Yes | ||
| payer_email | Yes |