Create template
create_templateCreate a draft email template (html or blocks format). Publish it before sending with 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>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | HTML body (html format). Variables like {{name}} are allowed | |
| name | Yes | Template name shown in the dashboard | |
| text | No | Plain-text body | |
| alias | No | Stable name to send with (template_alias), e.g. password-reset | |
| format | No | html for a raw HTML body, or blocks for the dashboard block editor | |
| subject | No | Default subject line. Variables like {{name}} are allowed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes |