Send or schedule confirmed newsletter
commit_campaign_dispatchStarts a REAL external newsletter send or schedules it for the exact time bound in the confirmation token. Scheduled sends use the saved audience targeting and rebuild recipients at send time; the prepared count is a preview. Requires explicitly enabled campaigns.dispatch. Call only after prepare_campaign_dispatch returned ready:true, you presented its full summary including all tag, newsletter-click and newsletter-opening filters and their independent include/exclude any/all rules, and the user explicitly approved sending that exact newsletter to that audience now or at the exact scheduled time shown in the summary. Never replace an elapsed scheduled time with immediate dispatch; prepare a new future time and obtain renewed approval. A test-send approval or a general request to edit a newsletter is insufficient. Use the unchanged confirmationToken and matching idempotencyKey. The backend checks tenant/access binding, expiry, current draft/content revisions, sender, the complete saved target (tags, clicks and opens), and recipient preparation under lock. Any changed click or opening filter requires fresh preparation and renewed approval. Conflicts require reading current state, fresh preparation and renewed user approval. Retry an uncertain request only with the identical token/key; idempotentReplay means no second send or schedule was created. queuedCount is queued work, not proof of delivery; warmup and sending limits still apply. Inspect get_campaign_details for progress. Never claim all recipients already received the newsletter.
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": {
"confirmationToken": "<confirmationToken>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "commit_campaign_dispatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idempotencyKey | Yes | Unique operation key; generate once for preparation and reuse unchanged for commit and retries. Use a new key after preparing a changed operation. | |
| confirmationToken | Yes | Unmodified short-lived confirmationToken returned by the matching prepare tool after showing the summary and receiving explicit user approval |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| mode | Yes | ||
| requestId | Yes | ||
| campaignId | Yes | ||
| queuedCount | Yes | ||
| scheduledAt | No | ||
| outboundIpId | Yes | ||
| scheduledCount | No | ||
| idempotentReplay | Yes | ||
| dailyEffectiveLimit | Yes | ||
| remainingAfterDispatch | Yes | ||
| availableBeforeDispatch | Yes |