get_document_preview
Fetch a full-page preview image for a document by ID to visually inspect its content without retrieving the full file. Returns the preview as base64-encoded image data.
Instructions
Get a full-page preview image of a document. Returns the preview as a base64-encoded image resource.
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": {
"id": "<id>"
},
"name": "get_document_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document ID |