mineru_merge_slices
Merge parsed page-range slices from a MinerU batch into one Markdown document, content JSON, and images folder, ordered by page range.
Instructions
Stitch the slices of a mineru_parse_long batch into one {name}/{name}.md (+ {name}_content.json with page_idx re-based to the whole document, + images/). Slices are ordered by their page range; each is marked with an HTML comment. Waits for nothing — if any slice is still processing, it reports and you re-run later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | Batch ID from mineru_parse_long | |
| overwrite | No | Overwrite an existing merged folder | |
| output_dir | Yes | Directory to write the merged document folder into |