share_set_user
Grant or update a user's editor or viewer access to a notebook by email, with a confirmation preview and optional email notification.
Instructions
Grant or change a user's access to a notebook. Accepts a notebook name or ID.
Confirm-gated: every grant/regrade returns a needs_confirmation preview
unless confirm=True. Upsert by email (one backend op for an add or a
permission change). permission: editor or viewer (not OWNER).
notify (default False) emails the user on grant/re-grade; message
is an optional welcome note. Returns the updated status (or a preview).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| notify | No | ||
| confirm | No | ||
| message | No | ||
| notebook | Yes | ||
| permission | No | viewer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||