office_table_tool
Read or edit tables in DOCX, XLSX, PPTX, ODT, ODS, and ODP files: add row grids, set individual cells, or extract table data by path and position.
Instructions
Read or write a table in docx, xlsx, pptx, odt, ods, or odp.
action is read, add, or set. rows_json is a JSON list of rows, for example [["Name","Qty"],["A","1"]]. table is 1-based. row and col are 0-based when setting one cell. On xlsx, add writes the grid at A1 and creates an Excel table. On ods, add writes the grid onto the first sheet. slide is 1-based for pptx and odp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | ||
| row | No | ||
| path | Yes | ||
| slide | No | ||
| table | No | ||
| value | No | ||
| action | Yes | ||
| header | No | ||
| rows_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |