read_cells
Read a cell range from a LibreOffice Calc spreadsheet, returning values or formula strings. Select the sheet by name or index to retrieve the data you need.
Instructions
Read a cell range (e.g. "A1:C10") as {values: [[...]]}.
Each row is a list; numeric cells come back as numbers, text as strings.
Set formula=true to read the underlying formula strings instead of
evaluated values (e.g. "=A1*2") — useful for inspecting an existing model.
sheet selects the sheet by name or 0-based index (defaults to first).
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": {
"doc_id": "<doc_id>",
"range": "<range>"
},
"name": "read_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | ||
| sheet | No | ||
| doc_id | Yes | ||
| formula | No |