get_table
Read a Word table completely: retrieves all cell text, merge map (gridSpan/vMerge), and column widths. Specify table index or nested cell path. Read-only, uses last-saved state.
Instructions
Read one table in full: every cell's text, the merge map (gridSpan horizontal, vMerge vertical), and column widths. table_index is 0-based among body-level tables in document order. For a table nested inside a cell, pass nested={row, cell, index} addressing the host cell (index picks among several, default 0). Write values with set_cells; reshape with modify_table_structure (media-forms pack). Read-only; reads the last-saved state of a document open in Word. Row/column surgery, styling, and sort: media-forms pack.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nested | No | ||
| file_path | Yes | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||