analyze_document
Extracts text with OCR fallback, detects dates, references and keywords, and suggests an intelligent filename for a local document, with optional AI classification.
Instructions
Deep-analyze a single document: extract text (with OCR fallback), detect dates, references, keywords, and suggest an intelligent filename. Optionally uses Perplexity AI for classification.
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": {
"filePath": "<filePath>"
},
"name": "analyze_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to document file |