share_set_access
Configure a notebook's link-sharing settings: set public access (anyone with link or restricted) and view level (full or chat). Get confirmation preview when widening access, unless confirmed.
Instructions
Set a notebook's link-access settings. Accepts a notebook name or ID.
Provide public (True = anyone-with-link, False = restricted)
and/or view_level (full or chat). Public widening
(public=True on a restricted notebook) returns a needs_confirmation
preview unless confirm=True; restricting and view_level changes are
not gated.
Returns the updated status (or preview). view_level is echoed only when
set here (the read API can't report it); with both fields it is applied
before public so a partial failure fails closed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | No | ||
| confirm | No | ||
| notebook | Yes | ||
| view_level | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||