Insert rows
insert_rowsInsert one or more blank rows into a sheet, shifting existing rows down and adjusting every affected formula reference automatically (Microsoft's own Excel engine does the shift, so this is safe even with cross-sheet formulas). Only works on workbooks in Excel Online mode. Structure changed afterward — consider re-running analysis to refresh insights.
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": {
"workbookId": "<workbookId>",
"sheetName": "<sheetName>",
"beforeRow": "<beforeRow>",
"count": "<count>"
},
"name": "insert_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| beforeRow | Yes | ||
| sheetName | Yes | ||
| workbookId | Yes |