delete_rows
Deletes a specified number of rows at a given position in an Excel .xlsx sheet, shifting the remaining rows up.
Instructions
Delete rows at the specified position. Remaining rows shift up.
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>",
"row": "<row>",
"count": "<count>"
},
"name": "delete_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | First row to delete (1-based) | |
| count | Yes | Number of rows to delete | |
| sheet | Yes | Sheet name or 1-based index | |
| file_path | Yes | Absolute path to the .xlsx file |