campaigns_content
Retrieve a Mailchimp campaign's HTML or plain-text body up to a character limit, including full content length and whether the returned body was truncated.
Instructions
Return a campaign's HTML or plain-text body, cut to max_chars. length is the full size and truncated says whether it was cut.
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": "campaigns_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_chars | No | Maximum number of characters of content to return. | |
| plain_text | No | Return the plain-text body instead of the HTML. | |
| campaign_id | Yes | Campaign ID, as returned by campaigns_list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||