send_campaign
Send an email campaign to its designated audience immediately. This action is irreversible and triggers the campaign delivery process.
Instructions
Send a campaign to its audience. This action is irreversible — the campaign will be sent immediately.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Campaign ID to send |
Implementation Reference
- server.js:267-279 (handler)The handler for the 'send_campaign' tool, which uses the mailchimp SDK to send a campaign.
server.tool( "send_campaign", "Send a campaign to its audience. This action is irreversible — the campaign will be sent immediately.", { campaign_id: z.string().describe("Campaign ID to send"), }, async ({ campaign_id }) => { await mailchimp.campaigns.send(campaign_id); return { content: [{ type: "text", text: JSON.stringify({ success: true, campaign_id, status: "sent" }, null, 2) }], }; } );