Merge or unmerge cells
merge_cellsCombine a specified cell range into one cell, keeping the top-left value, or unmerge it to split back into individual cells in an Excel sheet.
Instructions
Merge a range into one cell (keeping the top-left value), or unmerge it.
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": {
"path": "<path>",
"sheet": "<sheet>",
"range": "<range>"
},
"name": "merge_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| range | Yes | ||
| sheet | Yes | ||
| action | No | Unmerge splits it again. | merge |