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.
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. |