excel_format_worksheet
Apply professional styling to an entire worksheet in one operation, including title, header, and data ranges, column widths, and auto-fit for consistent Excel formatting.
Instructions
Format entire worksheet with professional styling in one operation
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_format_worksheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Opened workbook name | |
| dataStyle | No | Data range styling (optional) | |
| worksheet | Yes | Worksheet name | |
| titleStyle | No | Title cell styling (optional) | |
| headerStyle | No | Header row styling (optional) | |
| columnWidths | No | JSON string of column widths: [{"column":"A","width":20},{"column":"B","width":15}] (optional) | |
| autoFitColumns | No | Auto-fit all columns (default: true) |