insert_rows
Add empty rows above a specified row in an Excel worksheet, shifting existing rows down; preview the change with a dry run and verify blank rows after writing.
Instructions
Insert count empty rows above row; everything from row down shifts down. The dry run shows the row that will move. Verified afterwards: that row is found at row+count and the new rows are empty.
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": "<file>",
"sheet": "<sheet>",
"row": "<row>"
},
"name": "insert_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | ||
| file | Yes | Workbook: SharePoint URL, an alias from ~/.graph-excel/workbooks.json, or "driveId:itemId" | |
| send | No | false (default) = dry run: shows what would change. true = write — only after the user approved (or a standing rule allows it) | |
| count | No | ||
| sheet | Yes | Worksheet name exactly as listed by resolve |