create_sheet
Create a new empty sheet in an Excel-compatible workbook and get its index. If a sheet with the same name already exists, reuse it by returning its existing index instead of duplicating.
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.
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": {
"name": "<name>"
},
"name": "create_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Sheet name. |