doc_get_page_image
Render a specific page of a DOCX document as a PNG image to visually inspect layout. Use when a quick eyeball check is needed but prefer text reports for primary analysis.
Instructions
OPTIONAL visual channel: render ONE page of the DOCX to a PNG for the agent to eyeball a specific concern.
Use sparingly — images are costly in model context (see docs/01-compatibility.md); the deterministic doc_render_report (no images) is the primary signal. dpi is clamped to 36..300. On failure returns a structured {ok:false, error} instead.
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": {
"document": "<document>"
},
"name": "doc_get_page_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| page | No | ||
| document | Yes |