split_document
Divide a Word document into multiple DOCX files, one per heading section, to organize content by structure.
Instructions
Split the open document into multiple DOCX files, one per heading section.
Args: output_dir: Directory for output files. Defaults to /split_output. at_heading_level: Heading level to split on (default 1).
Returns: {"output_dir": str, "files": list[str], "parts": int}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ||
| at_heading_level | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |