Export Document Markdown
export_doc_markdownExports an AFFiNE document as Markdown. Provide document ID and optional workspace ID to retrieve content in Markdown format.
Instructions
Export AFFiNE document content to markdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | AFFiNE document id. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. | |
| includeFrontmatter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | ||
| docId | Yes | ||
| lossy | Yes | ||
| stats | Yes | ||
| title | Yes | ||
| exists | Yes | ||
| markdown | Yes | ||
| warnings | Yes |