Read document text
read_documentFetch a document by ID or attachment path and return its full text, converting PDFs and plain-text files so you can read or search archived association documents.
Instructions
Fetch a document and return its text (PDF and plain-text files).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | A document id, or an attachment `path` from another tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| note | No | ||
| text | Yes | ||
| filename | Yes | ||
| truncated | No | ||
| size_bytes | Yes | ||
| content_type | Yes |