merge_table_cells
Merges a range of cells within a specified table in a DOCX document. Provide table index and cell coordinates to combine multiple cells into one.
Instructions
Merge cells in a DOCX table
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>",
"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 |
|---|---|---|---|
| end_col | Yes | End column (0-based) | |
| end_row | Yes | End row (0-based) | |
| file_path | Yes | Absolute path to the .docx file | |
| start_col | Yes | Start column (0-based) | |
| start_row | Yes | Start row (0-based) | |
| output_path | No | Save to different path | |
| table_index | Yes | Table index (0-based) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |