read_pages
Reads a page range from a case volume, applying local OCR to scanned or garbled pages to yield readable text with page numbers. Flags pages needing visual recognition when OCR fails.
Instructions
读取指定卷宗的某一页码区间文本,每页标注页码。扫描件/乱码页会自动经本地中文OCR提取文字,故大多数页面可直接拿到可读文本。仅当某页仍提示 needs_ocr(OCR失败/空白页)时,才需改用 get_page_image 视觉识别(若环境支持视觉)或如实标注内容无法识别。所有引用须以 见《卷名》P起-止 的格式回溯到此处读取的页码。
参数结构(args 字段): {volume(必填): 卷宗名称(见 list_volumes 的名称,如:刑事侦查案卷); start_page(必填): 起始页码(1-based,含); end_page(必填): 结束页码(1-based,含)}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| case_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||