Update Folder Icon
update_folder_iconSet or clear a folder's sidebar icon in AFFiNE by providing an emoji, a structured icon object, or null to remove it. Keep your workspace organized with custom icons.
Instructions
Set or clear the sidebar icon on an organize folder. Pass an emoji string, a full icon object, or null to remove it. Experimental.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | Yes | Emoji shorthand ("🧪"), a full object ({type:"emoji",unicode:"🧪"} or {type:"icon",name:"check"}), or null to remove the icon. | |
| folderId | Yes | The organize folder whose icon to update. | |
| workspaceId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| icon | Yes | ||
| kind | Yes | ||
| cleared | Yes | ||
| folderId | Yes | ||
| workspaceId | Yes |