add_sheet
Add an empty worksheet to an Excel workbook on SharePoint, OneDrive, or Teams at an optional position, enforcing unique Excel sheet names with dry-run verification.
Instructions
Add an empty worksheet (Excel name rules, no duplicate names), optionally at position (0 = first). Verified by listing the sheets afterwards.
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": {
"file": "<file>",
"name": "<name>"
},
"name": "add_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Workbook: SharePoint URL, an alias from ~/.graph-excel/workbooks.json, or "driveId:itemId" | |
| name | Yes | ||
| send | No | false (default) = dry run: shows what would change. true = write — only after the user approved (or a standing rule allows it) | |
| position | No |