Move Document in Sidebar
move_docMove a document in AFFiNE sidebar by embedding it under a new parent, optionally removing from the original parent.
Instructions
Move a doc in the AFFiNE sidebar by embedding it under a new parent. Optionally removes it from the old parent (fromParentDocId). If fromParentDocId is omitted, the doc is added to the new parent but not removed from the old one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | ||
| docId | Yes | The doc to move. | |
| toParentDocId | Yes | The new parent doc that will contain the embed. | |
| fromParentDocId | No | The current parent doc to remove the embed from. If omitted, only adds to new parent. |