parse_document
Extract text and analyze document structure from images or PDFs using a local OCR pipeline with automatic model selection.
Instructions
Run the latest local PaddleOCR-VL pipeline on an image or PDF.
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": {
"image_path": "<image_path>"
},
"name": "parse_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | Yes | ||
| markdown | Yes | ||
| source_name | Yes | ||
| elapsed_seconds | Yes |