Create empty newsletter draft
create_campaignCreates a new empty newsletter campaign in draft status for the authenticated inviomail tenant. It never uses a template or another campaign, and it does not schedule or send anything. The optional subject is left empty when omitted.
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>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "create_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Internal name of the new newsletter draft | |
| subject | No | Optional email subject; omitted means an empty subject | |
| idempotencyKey | Yes | Stable unique key for this creation attempt; reuse it only when retrying the same request |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign | Yes | ||
| requestId | Yes | ||
| idempotentReplay | Yes |