r7_sheet_add
Add a new worksheet to an existing XLSX workbook, optionally writing initial 2D data at A1, without altering other sheets.
Instructions
Add a new worksheet to an existing XLSX workbook, optionally with initial data. Other sheets are left untouched.
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": {
"filePath": "<filePath>"
},
"name": "r7_sheet_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional 2D matrix to write starting at A1. | |
| name | No | New worksheet name (defaults to ЛистN; made unique automatically). | |
| index | No | Position in the tab order; appended when omitted. | |
| filePath | Yes | Path to an existing XLSX file. | |
| outputPath | No | Optional target path. |