Update Document Icon
update_doc_iconSet or remove a document's sidebar icon using an emoji string, icon object, or null. Pass docId and icon to update the Notion-style emoji slot.
Instructions
Set or clear the sidebar icon (the Notion-style emoji slot) on a document. Pass an emoji string, a full icon object, or null to remove it.
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. | |
| docId | Yes | The document whose icon to update. | |
| workspaceId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| icon | Yes | ||
| kind | Yes | ||
| docId | Yes | ||
| cleared | Yes | ||
| workspaceId | Yes |