detect_pdf
Identify PDF type, page count, and pages needing OCR to classify documents without full text extraction.
Instructions
Fast PDF detection: returns type, page count, and pages needing OCR.
Use this for quick classification without full text extraction.
Args: path: Absolute path to a PDF file on the local filesystem. data: Base64-encoded PDF bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |