officecli_view_screenshot
Render a DOCX page as a PNG screenshot to inspect its visual layout without modifying the original file.
Instructions
Optional OfficeCLI auxiliary sidecar export. Render a DOCX screenshot/PNG to output_path. Does not modify the DOCX.
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": {
"docx_path": "<docx_path>",
"output_path": "<output_path>"
},
"name": "officecli_view_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| docx_path | Yes | ||
| output_path | Yes | ||
| max_output_chars | No | ||
| screenshot_width | No | ||
| screenshot_height | No |