sheets_merge_cells
Merge cells in a Google Sheets spreadsheet. Specify sheet ID and zero-based start/end row and column indices to combine a range of cells.
Instructions
Merge cells in a sheet. Indices are 0-based, end is exclusive.
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": {
"spreadsheet_id": "<spreadsheet_id>",
"sheet_id": "<sheet_id>",
"start_row": "<start_row>",
"end_row": "<end_row>",
"start_col": "<start_col>",
"end_col": "<end_col>"
},
"name": "sheets_merge_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_col | Yes | ||
| end_row | Yes | ||
| sheet_id | Yes | ||
| start_col | Yes | ||
| start_row | Yes | ||
| merge_type | No | MERGE_ALL | |
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |