render_docx_template
Render DOCX templates by injecting variables, applying conditionals, and iterating loops to produce dynamic documents.
Instructions
Render a DOCX template with variables, conditionals, and loops
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": {
"file_path": "<file_path>",
"context": "<context>"
},
"name": "render_docx_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Template variables: {'name': 'value', 'items': [...], 'show_section': true} | |
| file_path | Yes | Path to DOCX template file | |
| output_path | No | Output path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |