Create Document From Markdown
create_doc_from_markdownCreate a new AFFiNE document by importing markdown content. Optionally embed it into a parent document to make it visible in the sidebar.
Instructions
Create a new AFFiNE document and import markdown content. Use parentDocId to automatically embed the new doc into a parent, making it visible in the sidebar instead of being an orphan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | ||
| title | No | ||
| markdown | Yes | Markdown content to import | |
| strict | No | ||
| parentDocId | No | If provided, the new doc is automatically embedded into this parent doc as a linked child (visible in sidebar). |