Create template
create_templateCreate an email template: name, html, optional subject, text and alias (a stable handle, unique per team). Live immediately. A template created with html opens in the dashboard's code mode and keeps its HTML byte for byte; converting it to blocks is the user's explicit choice there. from, reply_to and variables are not supported yet; passing them is a 422.
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>",
"html": "<html>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Not supported yet: any value is a 422 | |
| html | Yes | Stored as sent; the dashboard sanitizes at render | |
| name | Yes | ||
| text | No | "" or null clears the text part | |
| alias | No | ||
| subject | No | "" or null clears the subject | |
| reply_to | No | Not supported yet: any value is a 422 | |
| variables | No | Not supported yet: a non-empty list is a 422 |