find_blank_pages
Locate blank and nearly blank pages in PDFs, separate truly empty pages from those with faint marks, and review risky pages before deleting them.
Instructions
Find blank pages (no text, no ink) and nearly blank ones (no text, a little ink).
blank_pages can be passed to delete_pages. nearly_blank_pages may hold scanner dust but also a stamp, initials or faint pencil: look at them with view_pages before deleting. ink_threshold_percent (0-5, default 0.005) is how much of a page may differ from its background and still be blank. If complete is false, the time limit stopped the scan after pages_checked pages; call again for the rest.
Any password argument can be "ask": the user then types it on a local page, so it never passes through the chat.
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": {
"input_path": "<input_path>"
},
"name": "find_blank_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| password | No | ||
| input_path | Yes | ||
| ink_threshold_percent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| details | Yes | ||
| complete | Yes | ||
| blank_pages | Yes | ||
| total_pages | Yes | ||
| pages_checked | Yes | ||
| nearly_blank_pages | Yes | ||
| ink_threshold_percent | Yes |