create_campaign
Create a new email marketing campaign as a draft. Creating never sends or schedules anything — once the content and audience are confirmed, call send_campaign to send it now or schedule it for later.
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>",
"from_email": "<from_email>",
"from_name": "<from_name>"
},
"name": "create_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | HTML body content | |
| name | Yes | Internal campaign name (not shown to recipients) | |
| text | No | Plain text body content | |
| subject | Yes | Subject line recipients will see | |
| reply_to | No | Reply-to address | |
| from_name | Yes | Sender display name (required) | |
| from_email | Yes | Verified sender address | |
| segment_id | No | Audience segment to send to | |
| template_id | No | Use a saved template instead of inline HTML |