Turn a capability on or off for an access role
set_access_role_capabilitySwitch one of the eight capabilities on or off for an access role in a workspace you own — it reaches everyone who follows the role at once. Capabilities: readMail (Read my email), sendMail (Send email on my behalf), manageSheets (Work with my spreadsheets), readFiles (Read my files), shareFiles (Share files with people I name), manageTasks (Manage my tasks), draftReplies (Draft replies for me), manageCalendar (Manage my calendar). This only stages a request: the owner opens the link in their browser, reviews it, and approves it there with their agent PIN. Never ask for or accept the PIN in chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The access role's name. | |
| enabled | Yes | true to allow, false to refuse. | |
| workspace | No | Which workspace, by name or id. Only needed when you own more than one — list_workspaces shows them. | |
| capability | Yes | Which capability. |