read_document_content
WHEN TO USE: You need raw TipTap JSON for programmatic manipulation. For reading/understanding content, prefer read_document_text instead. Read a document’s content as TipTap JSON by connecting to the live collaboration server. Returns content (a doc node whose content holds this page of top-level blocks, with node types, attributes, marks, and text), totalBlocks (top-level blocks in the whole document) and page. Up to 100 top-level blocks per call, fewer when they are large; when page.nextOffset is present, more remains — pass page.nextOffset as offset to continue. Read only what you need: pass blockIds (from list_document_blocks) to get just those blocks and everything inside them, or use get_section_by_numbering for one clause. HTML blocks come back with their title only; pass includeHtml: true to get each one’s full HTML in attrs.html.