Preview a message with merge fields resolved
campaign_preview_messageRender a draft message against a real lead from the campaign so you can see how the merge fields resolve before committing the copy to a step. Nothing is sent and nothing is saved — this is the safe way to check a {{placeholder}} actually resolves, since an unknown one renders empty rather than failing. Save the copy with flow_set; to put a real email in front of yourself instead, campaign_send_test_email.
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>",
"message": "<message>"
},
"name": "campaign_preview_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Draft copy, including {{firstName}}-style placeholders. | |
| campaignId | Yes | Campaign id, from `campaign_list` or `campaign_create`. |