set_campaign_content
Set the content of a Mailchimp campaign by providing custom HTML, plain text, or a template ID. Required for sending campaigns.
Instructions
Set campaign content. Provide html for custom content, or template_id to use a template.
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": "set_campaign_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | ||
| html | No | ||
| plain_text | No | ||
| template_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |