Delete Folder
delete_folderDeletes an AFFiNE organize folder and all nested folders or link nodes, removing sidebar organization without deleting target documents, tags, or collections.
Instructions
Experimental: delete an AFFiNE organize folder and every nested folder or link node. This is destructive for sidebar organization but does not delete target documents, tags, or collections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | Yes | AFFiNE organize folder node id. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| error | No | ||
| details | No | ||
| success | No | ||
| causeCode | No | ||
| retryable | No | ||
| deletedIds | No | ||
| recoveryGuidance | No |