create_template
Create reusable MiniJinja email templates with aliases, subjects, HTML/text bodies, and preheaders for sending transactional messages through EuroMail.
Instructions
Create a reusable MiniJinja email template.
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>",
"subject": "<subject>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name | |
| alias | Yes | Alias used to send with the template (template_alias) | |
| subject | Yes | Subject template (supports {{ variables }}) | |
| html_body | No | HTML body template | |
| preheader | No | Inbox preview text | |
| text_body | No | Plain text body template |