read_document_text
Extract readable text from a LibreOffice document by providing its file path, so you can analyze or reuse the content without opening the file.
Instructions
Extract text content from a LibreOffice document
Args:
path: Path to the document file
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": {
"path": "<path>"
},
"name": "read_document_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The extracted text content | |
| char_count | Yes | Number of characters in the content | |
| page_count | Yes | Number of pages (if available) | |
| word_count | Yes | Number of words in the content |