Get Folder Icon
get_folder_iconReads the current sidebar icon of an AFFiNE organize folder, returning null if no icon is set.
Instructions
Read the current sidebar icon of an organize folder. Returns null when none is set. Experimental.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | Yes | The organize folder whose icon to read. | |
| workspaceId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| icon | No | ||
| kind | No | ||
| error | No | ||
| details | No | ||
| hasIcon | No | ||
| folderId | No | ||
| causeCode | No | ||
| retryable | No | ||
| workspaceId | No | ||
| recoveryGuidance | No |