Create Template
create-templateCreate an email template. Reference it from send-email by ID or alias; publish it before use.
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>",
"alias": "<alias>"
},
"name": "create-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Default sender. | |
| html | No | HTML body; supports {{variables}}. | |
| name | Yes | ||
| text | No | ||
| alias | Yes | Unique slug used by send-email. | |
| editor | No | ||
| subject | No | Subject; supports {{variables}}. | |
| reply_to | No |