classify_pdf
Identify a PDF's type, page count, OCR pages, and confidence level with a lightweight analysis that skips full inspection.
Instructions
Lightweight PDF classification: type, page count, OCR pages, confidence.
Faster than detect_pdf — returns a PdfClassification without full analysis.
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 |