# share_collection

Source: https://dropshelf.ai/docs/reference/mcp/tools/data/share_collection

Let everyone who can open the drop change and delete every document of a collection from the drop's page, which a list or board that all visitors edit needs.

Without it a visitor changes only the documents they created, and the owner, editors and admins change any. A document stored under a member's own id stays that member's even in a shared collection. The page cannot set this itself. The drop has to exist, the collection need not hold a document: for a new drop make it as a draft (create_upload, or write_drop_files with publish false), share, then publish_version, so nobody opens the page before the collection is shared. unshare takes it back. Owner, editor or admin. list_collections shows which collections are shared.

**Changes data · Idempotent**

Needs `platform.db.enabled` on the instance.

## Input [#input]

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `collection` | string | yes | the collection; it need not hold a document yet |
| `slug` | string | yes | the drop's name, the first label of its address |
| `unshare` | boolean | no | take the sharing back, so only a document's creator and the drop's owner, editors and admins change it |

Generated from dropshelf core at `6a548b2`, 26 Nov 2026.
