Unlock channel
unlock_channelReverses a channel lock by restoring prior send-permission denials and removing only those the lock added; previews changes and requires confirmation when no lock record exists.
Instructions
Reverse lock_channel: lift the denials the lock added and put back what it took off, leaving alone anything that was denied before the lock. A channel that was read-only before it was locked stays read-only. On a channel no lock is on record for, it would remove everyone's denial on sending, which may be there on purpose, so that needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the 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": "unlock_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. | |
| confirm_token | No | The token from this exact action's preview. Where the app can show a confirmation dialog, calling with it asks the user there, and it happens only if they agree. |