word_read_table
Read a table from a Word document to extract structured data. Specify the file path and optional table index, and get content as markdown or a raw 2D list.
Instructions
Read a table from a Word document (.docx).
Args:
file_path: Path to the Word document.
table_idx: 0-based index of the table (default 0).
format: 'markdown' (default) or 'raw' (2D list of cell text).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | markdown | |
| file_path | Yes | ||
| table_idx | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |