preview_template
Preview an email template by rendering it with sample variables, returning the resolved subject and body without sending.
Instructions
Render a saved template with sample variables and return the resolved subject and body, without 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": {
"id": "<id>"
},
"name": "preview_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The template id to render. | |
| variables | No | Handlebars variables to substitute. Missing variables render empty. |