append_update
Append or replace update text in specific row cells while preserving the original content byte-for-byte, then verify integrity and optionally highlight the changed cells.
Instructions
Write the 「-----update-----」 part of cells in one row (e.g. H/I/J) and keep the original part byte-identical. No separator yet: appends blank line + separator + text. Separator present: mode=replace (default) swaps the update part, mode=append adds after it. Pass expected per column (sha256 from read_range) as the base check. After writing it verifies the original part is intact, then fills fillRange (default the updated columns of that row) with fill (default #FFFF00; null = no fill).
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>",
"row": "<row>",
"update": "<update>"
},
"name": "append_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | ||
| file | Yes | Workbook: SharePoint URL, an alias from ~/.graph-excel/workbooks.json, or "driveId:itemId" | |
| fill | No | ||
| mode | No | ||
| send | No | false (default) = dry run: shows what would change. true = write — only after the user approved (or a standing rule allows it) | |
| sheet | Yes | Worksheet name exactly as listed by resolve | |
| update | Yes | Column letter -> update text, e.g. {"H": "1. ...", "J": "..."} | |
| expected | No | Column letter -> exact current text or sha256:<hash> | |
| fillRange | No |