document_search
Search for text within LibreOffice documents to find matching paragraphs, cells, or slides with surrounding context for efficient document analysis.
Instructions
Search for text within a document. Returns matching paragraphs/cells/slides with surrounding context.
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>",
"query": "<query>"
},
"name": "document_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document handle returned by document_open | |
| query | Yes | Text to search for (case-insensitive) | |
| limit | No | Max results to return. Default: 10 |