excel_auto_fit_columns
Auto-fit Excel worksheet columns to fit their content, optionally across a specified start-to-end range, so data displays clearly without manual resizing.
Instructions
Auto-fit columns
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": {
"filename": "<filename>",
"worksheet": "<worksheet>"
},
"name": "excel_auto_fit_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Opened workbook name | |
| endColumn | No | End column (e.g., Z) | |
| worksheet | Yes | Worksheet name | |
| startColumn | No | Start column (e.g., A) |