merge_cells
Merge a rectangular range of cells in a Word document table by specifying the table index and start/end row and column coordinates.
Instructions
Merge a rectangular range of cells. Horizontal: gridSpan. Vertical: vMerge.
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": {
"table_index": "<table_index>",
"start_row": "<start_row>",
"start_col": "<start_col>",
"end_row": "<end_row>",
"end_col": "<end_col>"
},
"name": "merge_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_col | Yes | ||
| end_row | Yes | ||
| start_col | Yes | ||
| start_row | Yes | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |