Okular: open documents and pages
viewer_stateRetrieve the open PDF documents and current page in Okular, including document paths, 1-based page numbers, and total page counts, so an assistant can track what the user is viewing.
Instructions
Which PDF and page Okular is showing.
Open Okular windows: document path, current page (1-based) and page count.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "viewer_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |