send_test_letter
Try a letter out. Defaults to a PREVIEW: the letter is built exactly as it would be posted and you get a PDF link back — no eBrief.de job, no postage. Pass really_send: true to actually post it (use your own address; it costs postage and is the only way to check the envelope window and folding). Address it either with lead_id or with an explicit to. Content is either body (plain text, drawn server-side) or document_id (a stored PDF, posted as it is). Test letters are marked as such in the letter history.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "send_test_letter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | An explicit address, so no throwaway lead has to be created for a test. | |
| body | No | Body text | |
| lead_id | No | Use this lead's postal address. Omit if you pass `to`. | |
| subject | No | Subject line | |
| document_id | No | A stored PDF to post as the letter, instead of body. | |
| really_send | No | Actually post it. Default false = preview only. |