parse_text
Extract structured JSON text and layout from local PDFs with optional page targeting and OCR verification. Enables dual-extract document understanding, tables, formulas, and validation offline.
Instructions
parse_text tool:MinerU 文本路单跑。
V2.0(additive):新增可选 verify_pages —— 调用级显式指定 OvisOCR2
校验页(信号②;未指定/未启用 → 触发规则自行判定,默认零调用)。
Args: pdf_path: PDF 路径(必填)。 pages: 页号(int | list[int] | None;1-based)。 verify_pages: 页号(int | list[int] | None;1-based;OvisOCR2 校验页)。
Returns: 结构化 JSON 文本(ParseTextOutput)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| pdf_path | Yes | ||
| verify_pages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |