excel_apply_table_style
Applies a table style preset to a specified worksheet range, setting header and alternate row colors for clear Excel tables.
Instructions
Apply table style preset
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>",
"startCell": "<startCell>",
"endCell": "<endCell>"
},
"name": "excel_apply_table_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endCell | Yes | Table end (e.g., D10) | |
| filename | Yes | Opened workbook name | |
| hasHeader | No | Has header (default: true) | |
| startCell | Yes | Table start (e.g., A1) | |
| worksheet | Yes | Worksheet name | |
| headerFontColor | No | Header font hex (default: FF000000) | |
| alternateRowColor | No | Alt row hex (default: FFF9F9F9) | |
| headerBackgroundColor | No | Header bg hex (default: FFD3D3D3) |