file_utils unlock first.
Authentication and enablement
No integration. Default-on.Inputs
file_url(required): the PDF.splitting_criteria(required): natural-language split rules and per-document fields to extract.document_id_regex(optional): when each document starts on a page with a printed id (INV-[0-9]{6}). OCR misreads are repaired; do not loosen the pattern for them.markdown_url(optional): ifdocument_parseralready ran, pass its markdown to avoid a second parse. Still passfile_urlfor citations and the real split.exclude_blank_pages,validation_rules,reviewers— optional.
Output
A schema of page groups with suggested filenames anddocument_id when regex matching is used.
Limits and side effects
- Analysis + schema generation; actual page split follows the schema path.
- Validation failures can pause the task for review.
Expected errors
- Missing
file_url/splitting_criteria. - Locked PDF.
- Unreadable file.