create_template
Create reusable email templates with placeholders for dynamic content, then pass values when sending emails.
Instructions
Create a reusable email template. Use {{variable}} placeholders in html/text and pass values via send_email's templateData.
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 |
|---|---|---|---|
| name | Yes | Template name | |
| subject | No | Default subject line | |
| html | No | HTML body with {{placeholders}} | |
| text | No | Plain-text body with {{placeholders}} |