batch_parse_pdfs
Batch-process every PDF in a folder by extracting text, bounding boxes, and OCR, then saving annotated page images and a summary per file.
Instructions
Parse all PDFs in a folder. For each PDF, writes to //: pages.json – text + bounding boxes per page summary.txt – plain text of the whole document page_N.png – raw page screenshot page_N_cited.png – screenshot with bounding-box highlights
Returns a JSON summary of successes and any errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_path | Yes | Absolute path to folder containing PDF files. | |
| max_workers | No | PDFs to process in parallel. Default 4. | |
| ocr_enabled | No | Run OCR on image-based pages. | |
| output_folder | No | Where to write outputs. Defaults to <folder>/liteparse_output/ |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |