schedule_campaign
Schedule email campaigns for future delivery by setting specific send times in Mailchimp. Define campaign ID and UTC time to automate email deployment.
Instructions
Schedule a campaign to send at a specific time in the future.
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>",
"schedule_time": "<schedule_time>"
},
"name": "schedule_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Campaign ID | |
| schedule_time | Yes | UTC send time in ISO 8601 format (e.g. 2026-03-01T14:00:00Z) |
Implementation Reference
- server.js:282-299 (handler)The 'schedule_campaign' tool is registered and implemented in server.js. It takes a campaign_id and a schedule_time, calling mailchimp.campaigns.schedule.
server.tool( "schedule_campaign", "Schedule a campaign to send at a specific time in the future.", { campaign_id: z.string().describe("Campaign ID"), schedule_time: z.string().describe("UTC send time in ISO 8601 format (e.g. 2026-03-01T14:00:00Z)"), }, async ({ campaign_id, schedule_time }) => { await mailchimp.campaigns.schedule(campaign_id, { schedule_time }); return { content: [ { type: "text", text: JSON.stringify({ success: true, campaign_id, scheduled_for: schedule_time }, null, 2), }, ], }; }