Set document access
set_document_sharingUse when the owner wants to make a document accessible to anyone with its link, require an email before viewing, or restrict access to specific verified email addresses. Replaces access settings and the allowed recipient list. Public allows anyone with the link; verified requires readers to sign in with a verified email before viewing (an existing verified session suffices); specific requires a listed verified email. Changes take effect immediately for published documents. Does not publish a draft or send invitations. This tool does not return individual reader emails. The owner dashboard shows verified reader email addresses in Reader activity; anonymous visits remain unidentified and cannot be retroactively identified. The owner dashboard also supports optional pre-view name/email/phone capture (self-reported, not verified), passcodes and expiration. Selected capture fields must be completed before content is shown. Public mode plus email capture collects an email without requiring sign-in; verified/specific modes still require verified sign-in; use the dedicated reader-settings and explicit-request activity/lead tools to manage these controls in chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | UUID of an existing document owned by the connected SharedBrief account, returned by document creation or listing. | |
| mode | Yes | public: no verified sign-in required; verified: require a verified email before viewing; specific: only listed verified email addresses after sign-in. Additional dashboard reader controls can apply in every mode. | |
| emails | No | Allowed addresses for specific mode, up to 50; at least one required for specific. This is an access allowlist, not captured leads or a visitor report. Replaces the previous list. |