Poll viewer commands
poll_view_commandsPolls and processes queued interact commands for the PDF viewer widget, keeping it synchronized with user actions.
Instructions
Internal: the viewer widget drains queued interact commands. 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_view_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_uuid | Yes | The open viewer's view_uuid. | |
| document_id | Yes | okraPDF document ID being viewed. |