render_template
Renders a saved email template with merge data, returning the subject, HTML, and text output without sending.
Instructions
Render a saved template with merge data and return the resulting subject/html/text (no send).
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": "render_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Template id or slug. | |
| data | No | Merge variables. | |
| sender | No | Product/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender. |