Lock channel
lock_channelDeny everyone permission to send messages and start threads in a Discord channel while preserving existing role and member overrides; reverse all changes with unlock_channel.
Instructions
Lock a channel by denying everyone the ability to send messages and start threads. Roles and members with their own permission to post on the channel keep it, so moderators set up that way keep access; the result names them. Reverse with unlock_channel, which puts back exactly what the lock changed.
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": "lock_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| reason | No | ||
| channel | Yes | Channel name or ID. |