word_insert_table
Insert a new table after a specified paragraph in a Word document, with optional initial cell text and change tracking.
Instructions
Insert a new table after a given paraId, optionally seeded with cell text
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | Yes | Number of columns | |
| data | No | Initial cell text, as rows of column values (default: empty cells) | |
| rows | Yes | Number of rows | |
| file_path | Yes | Absolute path to the .docx file | |
| after_para_id | Yes | w14:paraId of the paragraph to insert the table after | |
| track_changes | No | Record this edit as a tracked change (default: true) |