add_page_break
Insert a page break after a specified paragraph in a Word document. Provide the file path and paragraph index (0-based) to control page layout, with optional backup and safe validation.
Instructions
Insert a page break after body paragraph after_index (0-based). Auto-backup: prev/anchor slots in .ks4w-backups (backup=False skips rotation only); atomic validated save. Refuses documents open in Word.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | No | ||
| file_path | Yes | ||
| after_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||