document_read_range
Extract specific document sections by paragraph or slide index to reduce token usage when reading partial content from LibreOffice documents.
Instructions
Read a specific range of a document by paragraph index (for Writer) or slide index (for Impress). More token-efficient than document_read_text when you only need a specific section.
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": {
"docId": "<docId>",
"startIndex": "<startIndex>"
},
"name": "document_read_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document handle returned by document_open | |
| startIndex | Yes | Start paragraph/slide index (0-based) | |
| endIndex | No | End paragraph/slide index (exclusive). Defaults to startIndex + 10 |