Update Newsletter
shipmail_update_newsletterUpdate editable newsletter drafts or future scheduled newsletters. Use blocks for body; body_text updates plain-text override. Sent newsletters cannot be edited.
Instructions
Update an editable newsletter draft or future scheduled newsletter. Prefer blocks for body content. When blocks already exist, body_text alone updates the plain-text override. Sending and sent newsletters cannot be edited. A concurrent save returns conflict (409); read the latest newsletter before retrying. styled applies Shipmail's email theme. plain sends your HTML without injected styles, width, or centering, so the reader's email client styles it.
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": "shipmail_update_newsletter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Newsletter ID. | |
| name | No | Internal newsletter draft name. | |
| blocks | No | ||
| subject | No | Email subject line. | |
| body_html | No | ||
| body_text | No | ||
| audience_id | No | Audience ID. | |
| preview_text | No | ||
| styling_mode | No | styled applies Shipmail's email theme. plain sends your HTML without injected styles, width, or centering, so the reader's email client styles it. | |
| idempotency_key | No | Optional idempotency key. If omitted, the MCP server generates one for POST tools. | |
| send_window_hours | No | ||
| archive_visibility | No | ||
| sender_identity_id | No | Newsletter sender identity ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newsletter | Yes |