format_cells_bulk
Apply formatting to multiple cell ranges at once in a single file operation, so you can style a worksheet without repeating edits.
Instructions
Apply different formatting to multiple ranges at once (bulk). One file I/O 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": {
"file_path": "<file_path>",
"sheet": "<sheet>",
"groups": "<groups>"
},
"name": "format_cells_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | Sheet name or 1-based index | |
| groups | Yes | Array of range-format groups (max 1,000) | |
| file_path | Yes | Absolute path to the .xlsx file |