Preview a newsletter
preview_newsletterRenders a saved newsletter as one contact (or you) would get it: subject, preheader, the plain-text version, merge fields that print nothing, and personalization problems. Nothing is sent.
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": {
"campaignId": "<campaignId>"
},
"name": "preview_newsletter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | No | Which subject of an A/B test. | |
| contactId | No | Preview as this contact (optional). | |
| campaignId | Yes | Newsletter id from list_newsletters. |