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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"folderId": "<folderId>"
},
"name": "get_folder_icon"
}
}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 |