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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "classify_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |