set_fill
Set or clear the fill color of one or more contiguous Excel ranges in a single batch, with an optional dry run first and read-back verification to confirm the cells changed as intended.
Instructions
Set or clear the fill color of one or more contiguous ranges (non-contiguous rows = several ranges; sent in one batch). color "#FFFF00" etc., or null to clear. Verified by reading the fill back.
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": "<file>",
"sheet": "<sheet>",
"ranges": "<ranges>"
},
"name": "set_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Workbook: SharePoint URL, an alias from ~/.graph-excel/workbooks.json, or "driveId:itemId" | |
| send | No | false (default) = dry run: shows what would change. true = write — only after the user approved (or a standing rule allows it) | |
| color | No | ||
| sheet | Yes | Worksheet name exactly as listed by resolve | |
| ranges | Yes |