update_table_cell
Update a specific cell in a Word document table with new text. Optionally change font name, size, or bold style.
Instructions
修改表格中指定单元格的内容。
Args: file_path: 文档路径 table_index: 表格索引 (0-based) row: 行索引 (0-based) col: 列索引 (0-based) new_text: 新的单元格内容 font_name: 字体名称 (可选) font_size: 字号 pt (可选) is_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>",
"table_index": "<table_index>",
"row": "<row>",
"col": "<col>",
"new_text": "<new_text>"
},
"name": "update_table_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | ||
| row | Yes | ||
| is_bold | No | ||
| new_text | Yes | ||
| file_path | Yes | ||
| font_name | No | ||
| font_size | No | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |