insert_rows
Insert empty rows at a specified position in an Excel .xlsx sheet, shifting existing rows down to preserve layout.
Instructions
Insert empty rows at the specified position. Existing rows shift down.
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": "insert_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | Row number to insert before (1-based) | |
| count | Yes | Number of rows to insert | |
| sheet | Yes | Sheet name or 1-based index | |
| file_path | Yes | Absolute path to the .xlsx file |