Update Template
update-templateRename an email template or replace its full HTML body using the template ID, so AI agents can revise draft template content before a campaign is reviewed.
Instructions
Rename an email template or replace its HTML.
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-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The template id. | |
| html | No | Replaces the whole body HTML. | |
| name | No |