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.
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": "detect_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |