autofit_range
Adjusts column widths and row heights of a specified range so cell content fits properly.
Instructions
Autofit column widths and/or row heights of a range to their content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Autofit row heights. Default true. | |
| range | Yes | A1 range address, e.g. "A:F". | |
| columns | No | Autofit column widths. Default true. | |
| sheetName | No | Worksheet name. Defaults to the active worksheet. | |
| workbookId | No | Target workbook ID from list_workbooks. Optional when only one workbook is connected. |