Update Document Icon
update_doc_iconSet or clear the sidebar icon on a document by passing an emoji string, icon object, or null to remove it.
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 |