set_column_widths
Set the width of multiple Excel columns in one bulk call by providing a sheet and column-width pairs.
Instructions
Set widths for multiple columns at once (bulk).
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>",
"columns": "<columns>"
},
"name": "set_column_widths"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | Sheet name or 1-based index | |
| columns | Yes | Array of column-width pairs | |
| file_path | Yes | Absolute path to the .xlsx file |