delete_sheet
Remove a specific sheet from an Excel workbook, with a safeguard to prevent deleting the last remaining sheet.
Instructions
Delete a sheet from a workbook. Fails if it is the only sheet left.
Args: path: Path to the .xlsx file, or the name of a preloaded file. Omit if only one file is configured. sheet: Sheet name to delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| sheet | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||