delete_table
Removes a specified table from a Word .docx file. Creates an automatic backup before deletion and skips the operation if the document is open in Word.
Instructions
Delete a whole table (table_index from list_tables). 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 | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||