doc_page
Renders a PDF page to an image for pinout drawings, package dimensions, and tables that text extraction cannot handle. Use when datasheet visuals must be inspected.
Instructions
Render one page of a PDF to an image and return it, for pinout drawings, package dimensions, tables and anything else text extraction cannot carry.
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": "<doc>",
"page": "<page>"
},
"name": "doc_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document id, library file name, title, or a path inside the workspace. | |
| page | Yes | ||
| scale | No | Render scale; 2 is about 144 dpi. |