create_template
Create a reusable email template. Use {{variable}} placeholders for personalisation — they are substituted at send time and previewable via render_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>",
"subject": "<subject>",
"html": "<html>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML body (supports {{variables}}) | |
| name | Yes | Template name | |
| text | No | Plain text fallback body | |
| type | No | Template type (default: marketing) | |
| subject | Yes | Default subject line (supports {{variables}}) | |
| variables | No | Declared variable names used in the template |