Create Document
create_docCreate a new AFFiNE document with optional content and link it under a parent document in the sidebar tree if specified.
Instructions
Create a new AFFiNE document with optional content. If parentDocId is provided, the new doc is linked into the sidebar tree immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | ||
| title | No | ||
| content | No | ||
| parentDocId | No | Optional parent doc to link the new doc under in the sidebar. |