set_key
Make a registered channel private with a key (password), or public again with an empty key. Operators only. Members must join again after a key change.
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": {
"channel": "<channel>"
},
"name": "set_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| channel | Yes | Channel, e.g. #general (the default). |