Lock or unlock a channel (admin)
discord_admin_lockdownLocks a Discord channel or category so @everyone can read but cannot post, react, or start threads; unlock removes only the restrictions added by locking.
Instructions
Lock a channel or category so @everyone can read but not post, react or start threads. Roles with their own overrides are unaffected. Unlocking removes only what locking added.
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_id": "<channel_id>",
"lock": "<lock>"
},
"name": "discord_admin_lockdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | Yes | ||
| reason | No | Reason, recorded in Discord's audit log | |
| channel_id | Yes | Channel or category ID |