Preview campaign
campaign_previewRenders a draft and returns the text version, the live audience_count, quota_after_send and warnings (empty subject, missing button, over quota, first campaign pending review). Free, read only, sends nothing. Always call this before campaign_schedule and tell the person the audience count, the quota it will use and every warning. Requires API key scope: draft.
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": {
"id": "<id>"
},
"name": "campaign_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Campaign id (a UUID), as returned by campaign_draft or campaigns_list. |