get_document_content
Read and analyze a document's text by ID. For long documents, use offset and max_chars to request a character slice and continue reading.
Instructions
Get the text content of a specific document by ID. Use this when you need to read or analyze the actual document text. For long documents, read a slice with max_chars (and offset to continue) — e.g. max_chars: 2000 is usually enough to identify a document. Paperless stores the text without page boundaries, so slices are by characters, not pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| offset | No | Start at this character (default 0) — continue a previous partial read | |
| max_chars | No | Return at most this many characters; the result then includes total_chars and truncated |