Preview a campaign's message
preview_whatsapp_campaignPreview a campaign's message. Checks that the campaign's template and variable mapping would send, and renders the placeholder values for up to three real recipients (the first materialized recipients once the campaign has started, otherwise contacts from the audience). Writes nothing. Administrators only. Requires feature: whatsapp_campaigns.
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": "preview_whatsapp_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the campaign |