create_template
Save reusable email templates with subject and body, including {{variable}} placeholders for personalization. Prevents overwriting existing templates, requiring deletion first.
Instructions
Save a reusable email template. Subject and body may contain {{variable}} placeholders (e.g. {{firstName}}), auto-detected and stored on the template. Fails if a template with the same name already exists — delete it first to replace it.
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": {
"name": "<name>",
"subject": "<subject>",
"body": "<body>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Body text, may contain {{variable}} placeholders. | |
| name | Yes | Unique template name. | |
| isHtml | No | Whether body is HTML. | |
| subject | Yes | Subject line, may contain {{variable}} placeholders. |