render_template
Render a template's body with provided variables, auto-filling date, time, and other built-in values. Optionally enforce strict mode to flag missing placeholders.
Instructions
Render a template's body with the given variables. Built-in variables {date}, {time}, {day_of_week}, {week_number}, {month}, {year} are auto-filled. With strict=true, missing variables raise an error instead of being left verbatim.
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": {
"name": "<name>"
},
"name": "render_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name. | |
| variables | No | Variable substitution map (key -> string). | |
| strict | No | If true, fail when a {var} placeholder has no value. |