inspect_pdf
Classify each PDF page as text, scanned, mixed, or blank using the text layer and image geometry, to identify which pages require OCR.
Instructions
Classify each page of a PDF as text / scanned / mixed / blank.
Uses the PDF text layer and image geometry only — no OCR is run. Use this first to decide whether (and which pages need) OCR.
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": {
"path": "<path>"
},
"name": "inspect_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |