send_campaign
Send a saved Mailchimp email campaign immediately to your audience. This tool dispatches pre-configured campaigns with content already set.
Instructions
Send a campaign immediately. The campaign must be in 'save' status with content set.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes |
Implementation Reference
- mcp_mailchimp/server.py:197-202 (handler)The `send_campaign` function is the handler registered as an MCP tool that sends a Mailchimp campaign by calling the `/campaigns/{campaign_id}/actions/send` endpoint.
@mcp.tool() async def send_campaign(campaign_id: str) -> str: """Send a campaign immediately. The campaign must be in 'save' status with content set.""" mc = get_client() await mc.post(f"/campaigns/{campaign_id}/actions/send") return _fmt({"campaign_id": campaign_id, "message": "Campaign is sending."})