Skip to main content
Manage the content blocks (sections) within a document. Every write operation auto-commits the change.

Parameters

Actions

Document Structure

Each section has a name that is automatically rendered as an H2 heading in the UI. Do not start content with a duplicate heading.

Content Blocks

Local file uploads (stdio proxy only):
The proxy automatically uploads the file and transforms it to type: "storage".

Batch Create

When adding more than one section, use batch_create — it’s atomic, guarantees order, and avoids duplicates from parallel agents.

Permissions (Feature Branches Only)

Section-level permissions can only be set on non-default branches:
null = inherit from document. See Permissions for the full model.

Comments

Preserving existing comments: When editing sections, keep <moxn:comment id="uuid">text</moxn:comment> tags intact. Creating new comments:
  • read — read section content and get contentHash
  • documents — create documents and branches
  • upload_url — upload files for use in storage content blocks