Edit a campaign draft
update_campaignEdits a DRAFT: name, subject, preheader, kind, sender, content (text). Nothing is sent. Prefer it to create_campaign to rework a text: otherwise the old draft stays in the list. A scheduled, sending or sent campaign cannot be edited (409).
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": {
"id": "<id>"
},
"name": "update_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| from | No | ||
| kind | No | ||
| name | No | ||
| text | No | The new content, in plain text: it replaces the old one. | |
| subject | No | ||
| preheader | No |