render_template
Render a template with sample variables and return the resulting HTML and subject. Use this to preview personalisation before sending anything.
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": {
"template_id": "<template_id>"
},
"name": "render_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables | No | Variable values to substitute, e.g. { "first_name": "Ada" } | |
| template_id | Yes | Template ID to render |