render_page_base64
Render a document page as a base64-encoded image. Specify document ID, page index, format, and DPI.
Instructions
Render a document page to an image/base64
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": {
"doc_id": "<doc_id>"
},
"name": "render_page_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| page_index | No | ||
| fmt | No | png | |
| dpi | No |