Tool Render Pages
tool_render_pagesRender selected PDF pages as PNG images, with an option to return image content directly for visual review of complex layouts, charts, or scanned pages.
Instructions
渲染指定页为 PNG。return_images=True 时直接返回图像内容块(供视觉查看复杂版面/图表/扫描页)。
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": {
"path": "<path>"
},
"name": "tool_render_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| path | Yes | ||
| pages | No | 1 | |
| out_dir | No | ||
| overwrite | No | ||
| return_images | No |