excel_set_column_width
Set column widths in an Excel worksheet by specifying workbook ID, sheet name, and a column-to-width mapping (e.g., {'A': 20, 'B': 30}).
Instructions
设置列宽
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": {
"workbookId": "<workbookId>",
"sheetName": "<sheetName>",
"columns": "<columns>"
},
"name": "excel_set_column_width"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | Yes | 列宽映射,如 { "A": 20, "B": 30 } | |
| sheetName | Yes | 工作表名称 | |
| workbookId | Yes | 工作簿ID |