Get Document Icon
get_doc_iconGet the current sidebar icon of a document from an AFFiNE workspace. Returns null when no icon is set.
Instructions
Read the current sidebar icon of a document. Returns null when none is set.
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": {
"docId": "<docId>"
},
"name": "get_doc_icon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | The document whose icon to read. | |
| workspaceId | No |