Update Folder Icon
update_folder_iconUpdate the sidebar icon on organize folders by providing an emoji, icon object, or null to remove it.
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.
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>",
"icon": "<icon>"
},
"name": "update_folder_icon"
}
}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 |