read_range
Reads a contiguous Excel range from a SharePoint or OneDrive workbook, returning cell values with SHA-256 hashes for safe write validation and optional fill colors or hash-only output.
Instructions
Read one contiguous range (e.g. H60:J60). Each cell comes with sha256: to pass back as expected when writing. fills=true adds each cell's fill color (≤400 cells). hashOnly=true omits the text (just hash + length).
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>",
"range": "<range>"
},
"name": "read_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Workbook: SharePoint URL, an alias from ~/.graph-excel/workbooks.json, or "driveId:itemId" | |
| fills | No | ||
| range | Yes | ||
| sheet | Yes | Worksheet name exactly as listed by resolve | |
| hashOnly | No |