create_table_with_data
Creates a table at the end of a Word document and populates it with specified data, optionally bolding the header row.
Instructions
在文档末尾创建一个表格并填充数据。
Args: file_path: 文档路径 rows: 行数 cols: 列数 data: 二维数组,包含要填充的数据 [['Header1', 'Header2'], ['Val1', 'Val2']] header_bold: 第一行是否加粗
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | Yes | ||
| data | Yes | ||
| rows | Yes | ||
| file_path | Yes | ||
| header_bold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |