template_template_render
Renders a template string using ${variable} syntax with provided variables. Returns the rendered string, or an error if required variables are missing. Supports optional strict mode for validation.
Instructions
[template] Render a template string with the given variables. Uses ${variable} syntax (Python string.Template). Returns the rendered string or an error if variables are missing.
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": "<template>",
"variables": "<variables>"
},
"name": "template_template_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | ||
| variables | Yes | ||
| strict | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |