Read document
read_documentRead 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) | |
| business | No | Optional. The business this call is for, by name, e.g. "azquo" - it then runs there whatever business the session is in. Worth giving on writes when you work in more than one business: a new MCP session starts in the login's own business. list_businesses shows the names. | |
| database | Yes | Database name | |
| maxChars | No | Characters to return (default 40000, max 200000) |