create_sheet
Creates a new empty sheet in a workbook by name and returns its index. Reuses existing sheet if the name already exists, preventing duplicates. Use this to set up a named sheet ahead of time.
Instructions
Create a new sheet in the workbook. Returns the new sheet index. Idempotent: if a sheet with the same name exists, returns its index without creating a duplicate. Typically the agent does NOT call this directly — create_block will call it implicitly when the target sheet is missing. Use it only when you want an empty named sheet up front.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Sheet name. |