Rename Folder
rename_folderRenames an AFFiNE sidebar organize folder node by updating its metadata only, without renaming documents inside the folder.
Instructions
Experimental: rename an AFFiNE organize folder node. This changes sidebar metadata only and does not rename documents inside the folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Non-empty sidebar folder or collection name. | |
| 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 |
|---|---|---|---|
| id | No | ||
| ok | No | ||
| code | No | ||
| name | No | ||
| error | No | ||
| details | No | ||
| causeCode | No | ||
| retryable | No | ||
| recoveryGuidance | No |