share_set_access
Set a notebook's link access to public (anyone with link) or restricted, and choose full or chat view level. Confirm before widening access.
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; confirm with its canonical notebook_id. 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 | |||