Delete Rows
delete_rowsDelete rows from an active Excel worksheet, shifting remaining rows upward. Specify starting row and count to remove multiple rows at once.
Instructions
Delete one or more rows, shifting rows below them up.
Args: workbook: Workbook name or path (None = active workbook). sheet: Worksheet name (None = active sheet). row_index: 1-based row number to start deleting from (required). count: How many rows to delete.
Returns: JSON confirmation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| sheet | No | ||
| workbook | No | ||
| row_index | No |