mineru_parse_long
Parse documents exceeding 200 pages by slicing into ≤200-page batches, polling status, and merging outputs. Provide total page count.
Instructions
Parse a document LONGER than 200 pages (MinerU's per-file cap) by submitting it as one batch of ≤200-page slices with page_ranges. Give total_pages (from mdls -name kMDItemNumberOfPages, pdfinfo, or the viewer) — it is auto-detected only for local files on macOS. Returns a batch_id; poll with mineru_batch_status, then stitch with mineru_merge_slices. Files ≤200 pages: use mineru_parse instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ocr | No | Enable OCR (pipeline only) | |
| url | No | Public document URL (preferred) | |
| file | No | Absolute local file path (uploaded once per slice — slow for big files) | |
| name | No | Output name for the merged result (default: from URL/file name) | |
| model | No | pipeline=fast, vlm=90% accuracy | |
| table | No | Table recognition | |
| formula | No | Formula recognition | |
| language | No | Language code: ch, en, etc | |
| slice_size | No | Pages per slice (≤200) | |
| total_pages | No | Total page count of the document |