delete_range
Delete a specified cell range from an Excel sheet and shift remaining cells up or in the chosen direction to close the gap. Supports dry runs before modifying the workbook.
Instructions
Delete a range of cells and shift remaining 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": {
"filepath": "<filepath>",
"sheet_name": "<sheet_name>",
"start_cell": "<start_cell>",
"end_cell": "<end_cell>"
},
"name": "delete_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| end_cell | Yes | ||
| filepath | Yes | Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing. | |
| sheet_name | Yes | ||
| start_cell | Yes | ||
| shift_direction | No | up |