Excel Add Worksheet
excel_add_worksheetAdd a new worksheet to an existing Excel workbook in Microsoft 365. Specify the workbook's file path or ID and the new sheet name to create an additional tab.
Instructions
Add a new worksheet/tab to an existing Excel 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": {
"item_id_or_path": "<item_id_or_path>",
"worksheet_name": "<worksheet_name>"
},
"name": "excel_add_worksheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Optional SharePoint Site ID. | |
| drive_id | No | Optional SharePoint Drive ID. | |
| worksheet_name | Yes | Name of the new worksheet to create. | |
| item_id_or_path | Yes | Drive item ID or file path (e.g. '/Reports/Sales.xlsx' or item ID). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |