Change channel role
set_channel_roleMakes a channel member an admin, or a member again. Needs the channel's owner.
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": {
"workspace": "<workspace>",
"channel": "<channel>",
"userId": "<userId>",
"role": "<role>"
},
"name": "set_channel_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| userId | Yes | ||
| channel | Yes | Channel id (from list_conversations or list_channels) or its slug. | |
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |