set_nested_cells
Update cells in a nested table within a Word document, specifying the host cell and nested index, with auto-backup and validation. Refuses to modify documents open in Word.
Instructions
Write cells inside a NESTED table (edits = [{row, cell, text}]; the host cell is addressed by table_index/row/cell, nested_index picks among several). 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 |
|---|---|---|---|
| row | Yes | ||
| cell | Yes | ||
| edits | Yes | ||
| backup | No | ||
| file_path | Yes | ||
| table_index | Yes | ||
| nested_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||