move_section
Move a heading and its entire section (content and tables) to another location by exact heading text, before/after another heading or to the end. Avoids cutting fields or section breaks and backs up automatically.
Instructions
Move a heading and its ENTIRE section (content and tables until the next same-or-higher heading) before/after another heading or to the end. Sections are addressed by exact heading text; only headings are matched, so body prose repeating the words does not collide. Refuses moves that would cut fields or section breaks. 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 |
|---|---|---|---|
| at_end | No | ||
| backup | No | ||
| file_path | Yes | ||
| heading_text | Yes | ||
| after_heading | No | ||
| before_heading | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||