Update template
update_templateChange a template's name, subject, html, text or alias (null clears the alias). Omitted fields are left unchanged; the change is live immediately. Writing html makes the template html-authored: it opens in the dashboard's code mode and keeps its HTML byte for byte; converting it to blocks is the user's explicit choice there.
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 | Template id or alias | |
| from | No | Not supported yet: any value is a 422 | |
| html | No | ||
| name | No | ||
| text | No | ||
| alias | No | null clears the alias | |
| subject | No | "" or null clears the subject | |
| reply_to | No | Not supported yet: any value is a 422 | |
| variables | No | Not supported yet: a non-empty list is a 422 |