pdf_split
Split a PDF into one file per page range or per page, and verify each output's page count and page identity against the source.
Instructions
Split a PDF into one file per page range ('1-3', '5', '7-' to the end) or one file per page (each_page=true). Files are named _p-.pdf. The report checks each output's page count and that every page is identical to its source page. [docbridge schema 0.2.4]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | summary: report_summary + report_id (get_report has the rest). full: the whole report inline. | summary |
| ranges | No | 1-based ranges; exactly one of ranges/each_page. | |
| each_page | No | ||
| overwrite | No | ||
| input_path | Yes | Absolute file path. | |
| output_dir | No | ||
| raster_dpi | No | Render resolution for the page-identity check. | |
| report_path | No | ||
| max_differences | No | Differences kept in the full report; the rest are counted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| error | No | ||
| report | No | The full report. Over MCP only with detail='full'. | |
| outputs | No | ||
| report_id | No | Pass to get_report for the full report (held for this server session). | |
| disclaimer | No | docbridge never alters, summarizes or silently truncates source evidence. docbridge reports what it compared. PASS on an axis covers only that axis's stated scope; NOT_CHECKED and UNSUPPORTED are never passes. PDF text is the text layer as PyMuPDF decodes it, not the rendered glyphs. Nothing here interprets meaning: numbers are compared as characters, not as values. | |
| report_path | No | ||
| report_summary | No | ||
| schema_version | Yes | ||
| conversion_notes | No | ||
| operation_completed | Yes | The operation ran and wrote its outputs. Says NOTHING about fidelity: read the report status. |