render_template
Render a saved template's subject and body, substituting {{variable}} placeholders with provided values. Verify missingVariables is empty before sending to prevent literal placeholder text.
Instructions
Render a saved template's subject and body, substituting {{variable}} placeholders with the given values. Placeholders left unfilled stay literal (e.g. {{firstName}}) and are listed in missingVariables — check that field is empty before passing the rendered subject/body to send_email, or the recipient will see literal {{placeholder}} text in the message.
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 | The template id. | |
| variables | No | Map of variable name to replacement value, e.g. { "firstName": "Alex" }. |