excel_autofit_columns
Automatically adjust Excel column widths to fit content while applying minimum and maximum pixel constraints for optimal spreadsheet readability.
Instructions
Auto-fit column widths based on content with min/max constraints
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": {
"worksheetName": "<worksheetName>"
},
"name": "excel_autofit_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worksheetName | Yes | Name of worksheet to auto-fit | |
| minWidth | No | Minimum width in pixels | |
| maxWidth | No | Maximum width in pixels | |
| paddingRatio | No | Padding multiplier for content width |