Run saved view
run_saved_viewRetrieve documents from a Paperless saved view, applying its filter rules and sort order with paged results for browsing.
Instructions
Find the documents of a saved view, as the Paperless web UI lists them.
The filter rules of the view become the same filters search_documents takes, and the view's sort order applies; the rows and paging are those of search_documents. A rule that cannot be run (an unknown type, a value that does not fit) is an error naming the rule type; fix the view with update_saved_view. count is the total; pass next_page as page to see more. The page size of the view is a setting of the web UI and is not used.
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": {
"view": "<view>"
},
"name": "run_saved_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1. | |
| view | Yes | The saved view: its name or id. | |
| page_size | No | Documents per page, at most 100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| count | Yes | How many documents match in total. | |
| notices | No | Query syntax the search index reads as plain text, with the working alternative; empty for a clean query. Paperless itself reports no error for these. | |
| documents | Yes | ||
| next_page | Yes | The next page, null on the last one. |