Poll document view
poll_document_viewRefreshes the PDF viewer for a document: updates upload/parse/render status, page images, and extracted blocks. Use to synchronize the view with current processing state.
Instructions
Internal: the viewer widget refreshes upload/parse/render status, page images, and extracted blocks. Not for direct agent use.
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_id": "<document_id>",
"view_uuid": "<view_uuid>"
},
"name": "poll_document_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Pages to refresh, using the same range/list syntax as view_document. Defaults to the first 3 pages. | |
| view_uuid | Yes | The open viewer view_uuid from upload_document or view_document. | |
| document_id | Yes | okraPDF document ID being viewed. |