Skip to main content
write_document_markdown ⚠️ REPLACES ALL existing content with new Markdown-based content. To ADD content to an existing document, use append_markdown_to_document instead. Converts extended Markdown to TipTap JSON server-side — supports ALL HERO node types (headings, @clause, @title, @signature, callouts, columns, tabs, tables, inline atoms, charts, etc.). See the Extended Markdown Syntax section in the system prompt for the full syntax reference.

Parameters

documentId
string
required
ID of the document to write.
markdown
string
required
Full document content in extended Markdown. See system prompt for syntax.