read_document
Reads a document's text or character window using its document ID, returning up to 50,000 characters; for large files, read around a known hit instead of paging.
Instructions
Read the text of a document, or a character window of it. At most 50,000 characters are returned per call; for large documents read the window around a known hit instead of paging through everything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Document ID (from search_documents or list_documents). | |
| end_char | No | Optional: end position (exclusive). Capped at start_char + 50,000. | |
| start_char | No | Optional: start position (character offset, default 0). |