nevent_update_template
Update an existing email template: change the name, MJML/HTML content, or tags. Call nevent_get_template first to inspect the current version before modifying. At least one of name, content, or tags must be provided. Note: updating a template does NOT retroactively change campaigns already sent with it. If the template changed since you read it (another editor, the image processor or an AI edit), nev-api answers 409 template_edit_conflict and nothing is written: re-read it with nevent_get_template, re-apply your change on the current content and call this tool again (it never retries by itself).
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>"
},
"name": "nevent_update_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New human-readable name for the template. Omit to leave unchanged. | |
| tags | No | Replacement list of tags. The full tag list is replaced when provided. Omit to leave existing tags unchanged. | |
| format | No | New template format: "html" or "mjml". Omit to leave unchanged. | |
| html_body | No | New raw HTML content for the template. Omit to leave unchanged. | |
| mjml_body | No | New MJML source code for the template. Omit to leave unchanged. | |
| template_id | Yes | Identifier of the template to update. Use nevent_list_templates to get valid template IDs. |