Share Set Access
share_set_accessSet a NotebookLM notebook's link-sharing access and view level by name or ID. Choose public or restricted sharing and full/chat viewing; widening public access returns a confirmation preview.
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 | |||