Schedule Campaign (preview, then confirm)
schedule_campaignSend or schedule a campaign. Omit scheduled_at to send immediately. Two steps: call first WITHOUT confirm (or with confirm: false) to get a preview of who will receive the email (sender, subject, approximate recipient count, lists, time) — nothing is sent. Show that preview to the user and get an explicit yes, then call again with confirm: true to send. dry_run: true returns the preview without sending even when confirm is true.
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": {
"campaign_id": "<campaign_id>"
},
"name": "schedule_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to actually send. Leave false first to get a preview of what will be sent | |
| dry_run | No | Validate and show the send preview without sending, even when confirm is true | |
| campaign_id | Yes | Campaign ID | |
| scheduled_at | No | Schedule datetime YYYY-MM-DD HH:MM:SS in the account timezone (omit for immediate send) |