read_document
Read a stored document (see list_documents) as Markdown - headings, lists, tables, slides and pages kept. Long documents come a page at a time: 40000 characters by default; when truncated is true, call again with offset = nextOffset. Also returns downloadUrl (valid 60 minutes) for the ORIGINAL file and markdownUrl for the Markdown - give these to the user; do not fetch them yourself. When a document has no Markdown (e.g. an image), markdownNote says why and only the download link is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id, from list_documents or a DOCUMENT <id> / IMAGE <id> attribute | |
| offset | No | Character offset to start from (default 0) | |
| database | Yes | Database name | |
| maxChars | No | Characters to return (default 40000, max 200000) |