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: 第一行是否加粗
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"rows": "<rows>",
"cols": "<cols>",
"data": "<data>"
},
"name": "create_table_with_data"
}
}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 |