read_document
Extract text from study documents (PDF, Markdown, text, Word) by specifying the file path. Optionally limit character count or select page range for PDFs.
Instructions
Read or extract text from a study document.
Args:
relative_path: Path relative to docs root, e.g. lpdp/essay.pdf
max_chars: Maximum characters to return (default 50000)
page_start: PDF only — 1-based start page (0 = from beginning)
page_end: PDF only — 1-based end page inclusive (0 = through last page)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relative_path | Yes | ||
| max_chars | No | ||
| page_start | No | ||
| page_end | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |