campaign-create
Create a draft email campaign from plain text: the brand logo, an optional heading, the body (blank lines between paragraphs), an optional button and the default signature. Goes to everyone with an email, or to one segment. Nothing is sent; the team reviews it in the email builder first.
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>",
"body": "<body>"
},
"name": "campaign-create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The email text. Use blank lines between paragraphs. {{first_name}} and {{company}} are filled per person. | |
| name | Yes | Internal name, like "October product update" | |
| heading | No | Optional heading at the top of the email | |
| subject | Yes | Subject line, under 60 characters reads best | |
| buttonUrl | No | https:// link for the button | |
| segmentId | No | Send to this segment instead of everyone (segment-list shows IDs) | |
| buttonText | No | Optional button label | |
| previewText | No | Short line shown after the subject in the inbox |