Render Template
render_templateGenerate device configurations and commands by rendering Jinja2 templates with dynamic variables.
Instructions
Render a Jinja2 template with provided variables.
Jinja2 templates are commonly used in network automation for generating device configurations, commands, and other text-based content by combining template structures with dynamic variable values.
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>"
},
"name": "render_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | The Jinja2 template string | |
| variables | No | Zero or more variables to associate with this template |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The fully rendered template with variables substituted |