create_template
Create reusable email templates with subject, HTML, text, and variables for personalized sends. Define variable definitions and optional alias for stable sending.
Instructions
Create a reusable email template (POST /templates). Supports subject/html/text with {{ variables }} and optional variable definitions.
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 |
|---|---|---|---|
| from | No | ||
| html | No | ||
| name | Yes | Template name. | |
| text | No | ||
| alias | No | Optional stable handle for sending by alias. | |
| subject | No | ||
| reply_to | No | ||
| variables | No | Variable definitions: each { key, type?, fallback_value? }. |