Update Drag-and-Drop Email Template
update_dnd_email_templateRevise a drag-and-drop template that create_dnd_email_template saved, for changes the user asks for after saving. Send the full revised email, built the same way as for create_dnd_email_template: it replaces the whole design. It only changes a template that hasn't been edited in Mailercloud since it was saved; otherwise make the change in Mailercloud's drag-and-drop editor or create a new template. Use dry_run: true to check and preview 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": {
"template_id": "<template_id>",
"email": "<email>"
},
"name": "update_dnd_email_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The full revised email as rows and blocks (it replaces the whole design), never HTML | ||
| dry_run | No | Check and preview the change without saving it | |
| category_id | No | New category ID from list_template_categories | |
| template_id | Yes | ID of a template saved by create_dnd_email_template |