Update Collection Rules
update_collection_rulesReplace a collection's filtering rules and rebuild its document allow-list from current workspace data to control which documents are included.
Instructions
Replace an AFFiNE collection's rules and rebuild its allow-list from current workspace documents. This can change which docs appear in the collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | Rule set used to rebuild the collection allow-list. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. | |
| collectionId | Yes | AFFiNE collection id from list_collections or create_collection. |