Create Document
create_docCreate a new AFFiNE document with optional content, link it under a parent doc in the sidebar, or place it inside a specific folder.
Instructions
Create a new AFFiNE document with optional content. If parentDocId is provided, the new doc is linked into the sidebar tree immediately. If folderId is provided, the doc is placed inside that folder in the sidebar.
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. | |
| folderId | No | Optional folder ID to place the doc in. Use list_organize_nodes to find folder IDs. |