Get Collection
get_collectionRead an AFFiNE sidebar collection by ID to inspect its rules and allow-list; use list_collections first when the collection ID is unknown.
Instructions
Read one AFFiNE sidebar collection by id, including rules and allow-list. Use list_collections first when the id is unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. | |
| collectionId | Yes | AFFiNE collection id from list_collections or create_collection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | No | ||
| code | No | ||
| name | No | ||
| error | No | ||
| rules | No | ||
| details | No | ||
| allowList | No | ||
| causeCode | No | ||
| retryable | No | ||
| recoveryGuidance | No |