Replace Document With Markdown
replace_doc_with_markdownReplace the main note content of an AFFiNE document with specified markdown input. Use this to update document content programmatically.
Instructions
Replace the main note content of a document with markdown content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | AFFiNE document id. | |
| strict | No | ||
| markdown | Yes | Markdown content to replace with | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. |