render_docx_preview
Render a Word document (.docx) in the project to per-page PNG images (written under /.docx-preview/), so you can study its VISUAL LAYOUT — heading levels, font styles, table/figure placement, margins — with analyze_image before replicating the formatting in LaTeX. Pair with extract_docx_text for the actual content. Requires the render-worker service; when it reports unavailable, fall back to extract_docx_text alone.
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": {
"project_id": "<project_id>",
"path": "<path>"
},
"name": "render_docx_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |