word_write_table_cell
Update the text in a specific table cell of a Word document by providing file path, table, row, and column indexes, with optional backup creation.
Instructions
Update text in a specific cell of a table in a Word document.
Args:
file_path: Path to the Word document.
table_idx: 0-based index of the table.
row_idx: 0-based row index.
col_idx: 0-based column index.
text: New text content for the cell.
backup: If True, create a backup of the original file before modifying.
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_idx": "<table_idx>",
"row_idx": "<row_idx>",
"col_idx": "<col_idx>",
"text": "<text>"
},
"name": "word_write_table_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| backup | No | ||
| col_idx | Yes | ||
| row_idx | Yes | ||
| file_path | Yes | ||
| table_idx | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |