excel_set_column_width
Adjust the width of a specific column in an Excel file by specifying the column letter or number and the width in Excel units, with an option to create a backup.
Instructions
Adjust width of a column
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": {
"filePath": "<filePath>",
"sheetName": "<sheetName>",
"column": "<column>",
"width": "<width>"
},
"name": "excel_set_column_width"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the Excel file | |
| sheetName | Yes | Name of the sheet | |
| column | Yes | Column letter (A) or number (1) | |
| width | Yes | Width in Excel units | |
| createBackup | No |