合并单元格
merge_cellsMerge a rectangular cell range into a single cell, preserving the top-left value. Ideal for creating title rows in Excel files.
Instructions
把一个矩形区域合并成一个单元格,内容保留左上角的值。常用于标题行。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | 矩形区域,如 `A1:D20` | |
| filePath | Yes | Excel 文件的绝对路径,例如 `C:\Users\xx\报表.xlsx` 或 `/Users/xx/报表.xlsx`。支持 .xlsx / .xls / .csv | |
| sheetName | Yes |