channel_permissions_set
Set a channel or category permission overwrite for a role, member, or @everyone, merging allow/deny/neutral by default or replacing it exactly.
Instructions
Set a permission overwrite on a channel/category for a role or member (target = name/id/@everyone). By default MERGES with the existing overwrite: perms in allow become allowed, in deny denied, in neutral reset; replace=True writes exactly allow/deny. Permission names: view_channel, send_messages, read_message_history, manage_messages, attach_files, add_reactions, connect, speak, manage_threads, send_messages_in_threads, create_public_threads, ... (see permissions_list).
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>",
"target": "<target>"
},
"name": "channel_permissions_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | ||
| deny | No | ||
| allow | No | ||
| guild | No | ||
| reason | No | ||
| target | Yes | ||
| channel | Yes | ||
| neutral | No | ||
| replace | No | ||
| target_type | No |