volanea_render_template
Render a template with sample variables and return the resulting subject and HTML, plus any {{placeholders}} that went unsubstituted — WITHOUT sending anything or writing a row to the send log. Use this while iterating on copy; use volanea_send_test_email only when you want a real logged message to inspect with volanea_check_delivery.
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": {
"templateId": "<templateId>"
},
"name": "volanea_render_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables | No | Sample values for {{variable}} placeholders. | |
| project_id | No | Which project to act on — a projectId from volanea_list_projects. Optional when this connection reaches exactly one project; required when it reaches several (the call fails with the list of projects instead of guessing). A project API key only ever reaches its own project. | |
| templateId | Yes | The tmpl-... id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Machine-readable failure code to branch on. Present only when success is false. | |
| data | No | Present when success is true. | |
| error | No | Human-readable failure reason. Present only when success is false. | |
| success | Yes | False when the call failed; read `error` and `code` in that case. |