update_template_version
Patch an existing dynamic template version to update its name, subject, content, or active status. Requires template and version IDs.
Instructions
Advanced mutating operation: directly patch an existing template version. Prefer create_template_version for safer edits.
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>",
"version_id": "<version_id>"
},
"name": "update_template_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Updated version name | |
| active | No | Updated active flag | |
| subject | No | Updated subject line | |
| version_id | Yes | ID of the version to patch | |
| template_id | Yes | ID of the dynamic template | |
| html_content | No | Updated HTML content | |
| plain_content | No | Updated plain text content |