create_sheet
Add a new sheet to an existing .xlsx/.xlsm workbook, optionally choosing its position and adding a header row.
Instructions
Add a new sheet to an existing .xlsx/.xlsm workbook.
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": {
"path": "<path>",
"name": "<name>"
},
"name": "create_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New sheet name (max 31 chars) | |
| path | Yes | Path to the spreadsheet file (absolute, or relative to the first allowed directory) | |
| index | No | Position among sheets (0 = first). Defaults to last. | |
| headers | No | Optional header row for the new sheet |