create_campaign
Create a new email campaign using an active sending domain, with optional HTML/text bodies and recipients. Run a spam check before large sends to support deliverability.
Instructions
Create a new email campaign. Requires an active sending domain. Include both html_body and text_body for proper multipart structure (a positive deliverability signal). Always run run_spam_check before large sends.
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": {
"domain_id": "<domain_id>",
"from_address": "<from_address>",
"subject": "<subject>"
},
"name": "create_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Campaign name. | |
| subject | Yes | Email subject line. | |
| reply_to | No | ||
| domain_id | Yes | Sending domain ID. | |
| html_body | No | HTML email content. | |
| text_body | No | Plain text fallback. | |
| recipients | No | Recipient email addresses. | |
| from_address | Yes | Sender address (must use the specified domain). | |
| campaign_type | No | Optional type (e.g. 'promotional', 'transactional'). | |
| contact_list_id | No | Load recipients from a contact list instead. |