新建 Excel 文件
create_workbookCreate a new .xlsx, .xls, or .csv file from scratch, optionally specifying initial worksheet names. Fails if the file already exists to prevent accidental overwriting of existing data.
Instructions
从无到有新建一个 .xlsx 文件。可指定初始工作表名列表。文件已存在时会失败(防误覆盖),不会清空已有文件。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheets | No | ||
| filePath | Yes | Excel 文件的绝对路径,例如 `C:\Users\xx\报表.xlsx` 或 `/Users/xx/报表.xlsx`。支持 .xlsx / .xls / .csv |