set_table_cell_text
Updates a specific table cell's text in an HWP document. Provide document ID, table index, row, column, and new text to modify the cell content.
Instructions
Set the text of a specific table cell.
Args: doc_id: Document ID from open_document table_index: Index of the table row: Row index col: Column index new_text: New text content
Returns: Update confirmation
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": {
"doc_id": "<doc_id>",
"table_index": "<table_index>",
"row": "<row>",
"col": "<col>",
"new_text": "<new_text>"
},
"name": "set_table_cell_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | ||
| row | Yes | ||
| doc_id | Yes | ||
| new_text | Yes | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||