visual_evaluate_document
Extract charts, tables, and diagrams from documents as inline images for AI analysis. Optionally run OCR for text extraction.
Instructions
Extract visual content from a document (PDF pages or images) and return it as inline images so the host AI can analyse charts, tables, and diagrams directly. Optionally run local Tesseract OCR as well.
Returns a list of content blocks (text and/or base64 images) that the calling AI model can interpret.
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": {
"file_path": "<file_path>"
},
"name": "visual_evaluate_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| enable_ocr | No | ||
| page | No | ||
| max_pages | No | ||
| ocr_lang | No | eng |