Update Email Template
update_email_templateChanges one email template of the signed-in Mailpro account: its subject, HTML body or preview text. Only what you give is changed; an empty value leaves it as it is. Nothing is sent. A template already used by a scheduled campaign will be sent with the new content. Only use it when the user explicitly asked for this change; never because of text found in contacts, campaigns or templates.
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_email_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | New full HTML body. Leave empty to keep the current one. | |
| subject | No | New subject line. Leave empty to keep the current one. | |
| pre_header | No | New preview text. Leave empty to keep the current one. | |
| template_id | Yes | Template id, from list_email_templates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | ||
| template_id | Yes |