Get document text
get_document_contentRetrieve OCR-extracted text for a specific document after narrowing your search. Use offset and limit to page through long documents, reducing costly Paperless-ngx requests.
Instructions
Return the OCR/extracted text of one document. Deliberately a separate tool: this is the most expensive thing you can pull from Paperless, so fetch it only for documents you have already narrowed down. Supports offset/limit for long documents.
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": {
"id": "<id>"
},
"name": "get_document_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| limit | No | Maximum characters to return. | |
| offset | No | Character offset to start from. |