update_template
Update a Listmonk template's name, subject, HTML body, or default flag without touching other fields; the provided body fully replaces the existing one.
Instructions
Update a template's name, body, default flag or subject. Only the fields you provide are sent, and a provided body replaces the old one completely. For large HTML bodies prefer update_template_from_file.
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": "update_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | New full template HTML; replaces the whole current body | |
| name | No | Template name | |
| subject | No | Subject line (required for 'tx' transactional templates) | |
| is_default | No | Default template flag | |
| template_id | Yes | Template ID |