spreadsheet_get_range
Extract specific cell ranges from LibreOffice spreadsheets as structured JSON or markdown tables. Retrieve data efficiently by specifying ranges like A1:D10 instead of loading entire sheets.
Instructions
Read a range of cells from a spreadsheet sheet. Returns data as structured JSON and a markdown table. Use range like "A1:D10" for specific cells, or omit for paginated full sheet. Token-efficient: specify a range rather than reading the whole sheet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document handle returned by document_open | |
| sheetName | No | Sheet name. Defaults to the first sheet if not specified | |
| range | No | Cell range in A1:C10 format. If omitted, returns paginated rows. | |
| limit | No | Maximum number of items to return. Default: 50 | |
| offset | No | Pagination offset. Default: 0 | |
| format | No | Output format: json, table (markdown), or both | both |