add_worksheet
Add a new worksheet to an open Excel workbook, optionally at a specific position, and activate it so AI agents can begin editing that sheet immediately.
Instructions
Add a new worksheet to the workbook, optionally at a specific position, and activate it. Returns the new sheet name and position.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_worksheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the new worksheet. Auto-generated when omitted. | |
| position | No | Zero-based position to insert at. Default: append at end. | |
| workbookId | No | Target workbook ID from list_workbooks. Optional when only one workbook is connected. |