add_sheet
Add a new sheet to a spreadsheet workbook, specifying name and position, with auto-generated options available.
Instructions
Add a new sheet to the workbook.
Returns the name of the newly created sheet. Not supported for CSV files.
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": "add_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the spreadsheet file | |
| name | No | Name for the new sheet. Auto-generated if omitted. | |
| position | No | 1-based position to insert the sheet. Appended at the end if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |