doc_parse
Convert PDF, DOCX, PPTX, XLSX, and images into Markdown or JSON using MinerU or PaddleOCR, with options for tables, formulas, and images.
Instructions
解析文档(PDF/DOCX/PPTX/XLSX/图片)为 Markdown/JSON。使用 MinerU 或 PaddleOCR。
Args: file_path: 文档文件路径 pages: 页码范围(如 "1-20"),默认全部 engine: 解析引擎 (auto|mineru|paddleocr) need_tables: 是否需要表格 need_formulas: 是否需要公式 need_images: 是否需要图片提取 output_format: 输出格式 (markdown|json|markdown+json)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| engine | No | auto | |
| file_path | Yes | ||
| need_images | No | ||
| need_tables | No | ||
| need_formulas | No | ||
| output_format | No | markdown+json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |