add_table
Insert a formatted table with bold headers and standard cell borders into an existing Word document. Append the table at the end of the document.
Instructions
Insert a formatted table into an existing .docx document. The table is appended at the end of the document with bold header row and standard cell borders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the existing .docx file | |
| headers | Yes | Column header labels (e.g., ["Name", "Role", "Department"]) | |
| rows | Yes | 2D array of table data. Each inner array is one row and must match the number of headers. Example: [["Alice", "Engineer", "Tech"], ["Bob", "Designer", "UX"]] |