merge_table_cells
Merge a range of table cells in an HWP document into a single cell. Specify document ID, table index, and start/end row/column indices to consolidate cell ranges.
Instructions
Merge a range of table cells.
Args: doc_id: Document ID from open_document table_index: Index of the table start_row: Starting row index start_col: Starting column index end_row: Ending row index (inclusive) end_col: Ending column index (inclusive)
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>",
"start_row": "<start_row>",
"start_col": "<start_col>",
"end_row": "<end_row>",
"end_col": "<end_col>"
},
"name": "merge_table_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| end_col | Yes | ||
| end_row | Yes | ||
| start_col | Yes | ||
| start_row | Yes | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||