Set workspace member role
workspace_member_set_roleChange a member's role: editor (reads, writes and shares everything) or viewer (reads everything). member is the row id from workspace_member_list (it stands alone), or an account id, alias or email address with workspaceId. Anyone who may share here (editors, guests included). A change to viewer immediately releases the member's task holds and browser views.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"member": "<member>",
"role": "<role>"
},
"name": "workspace_member_set_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters. | |
| role | Yes | viewer or editor. | |
| member | Yes | The member: its row id (id from the member list; it stands alone), or an account id, alias or email address with workspaceId (the person's primary-account row, or the row an add or invite by the address made). | |
| workspaceId | No | The workspace (its id or its slug), when member is an account id, alias or email; optional beside a row id (the row must be in it). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member | Yes |