create_brevo_email_campaign
Create a Brevo email campaign as a DRAFT (POST /emailCampaigns) — it is not sent. Required: name, subject, sender ({ name, email } or { id }), and htmlContent, htmlUrl or templateId. Optional: recipients ({ listIds, exclusionListIds, segmentIds }), replyTo, previewText, scheduledAt (ISO; schedules the send!), tag, params, inlineImageActivation, utmCampaign.
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": {
"name": "<name>",
"subject": "<subject>",
"sender": "<sender>"
},
"name": "create_brevo_email_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Tag for grouping the campaign in Brevo | |
| name | Yes | Name of the Brevo email campaign | |
| params | No | Template parameters used in the campaign content | |
| sender | Yes | Sender as { name, email } or { id } of a Brevo sender | |
| htmlUrl | No | URL from which Brevo loads the HTML body | |
| replyTo | No | Reply-to email address | |
| subject | Yes | Subject line | |
| recipients | No | Target audience: { listIds, exclusionListIds, segmentIds } | |
| templateId | No | Brevo template ID used as the campaign content | |
| htmlContent | No | HTML body of the campaign (or use htmlUrl or templateId) | |
| previewText | No | Preview text shown next to the subject in the inbox | |
| scheduledAt | No | ISO timestamp; setting it schedules the actual send | |
| utmCampaign | No | Value for the utm_campaign parameter appended to links |