set_column_width
Adjust the width of one Excel column by providing the workbook path, sheet, column letter, and width in characters.
Instructions
Set the width of a single 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": {
"file_path": "<file_path>",
"sheet": "<sheet>",
"column": "<column>",
"width": "<width>"
},
"name": "set_column_width"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | Sheet name or 1-based index | |
| width | Yes | Column width in characters (0-255) | |
| column | Yes | Column letter (e.g. 'A', 'BC') | |
| file_path | Yes | Absolute path to the .xlsx file |