merge_cells
Combine a range of cells in an Excel .xlsx sheet into one merged cell by specifying the file path, sheet, and range, such as 'A1:C1'.
Instructions
Merge a range of cells.
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>",
"sheet": "<sheet>",
"range": "<range>"
},
"name": "merge_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | Range to merge (e.g. 'A1:C1') | |
| sheet | Yes | Sheet name or 1-based index | |
| file_path | Yes | Absolute path to the .xlsx file |