Get page thumbnail of Docling document
get_page_thumbnailGenerate a thumbnail image of a requested page from a document in the local cache, with adjustable width, to preview pages and identify content before processing.
Instructions
Generate a thumbnail image for the requested page of a document in the local cache.
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_key": "<document_key>"
},
"name": "get_page_thumbnail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | The width of the thumbnail in pixels | |
| page_no | No | The number of the page starting at 1 | |
| document_key | Yes | The unique identifier of the document in the local cache. |