Add Worksheet
add_worksheetAdd a new worksheet to an open Excel workbook, with optional custom name and tab position. Specify the target workbook or use the active one.
Instructions
Add a new worksheet to an open workbook.
Args: workbook: Workbook name or path (None = active workbook). name: Name for the new sheet (None = Excel's default, e.g. "Sheet4"). index: 1-based tab position to insert before (None = before the active sheet).
Returns: JSON with the new sheet's 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 | ||
| index | No | ||
| workbook | No |