discord_explain_permissions
Resolve a member's effective channel permissions using Discord's own role and overwrite order to show which permissions are allowed, denied, or overridden. Use it to diagnose why someone cannot see or post in a channel.
Instructions
Explain a member's effective permissions in a channel, using Discord's own resolution (base role permissions, then category and channel overwrites, in Discord's order). Reports the resulting allow set, which flags came from overwrites, and any permission that is denied. Read-only. This is the tool to use when someone 'cannot see' or 'cannot post' and the cause is not obvious.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Member whose permissions should be explained. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| channel_id | No | Channel to resolve against. Omit for server-wide (base) permissions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| granted | Yes | ||
| user_id | Yes | ||
| guild_id | Yes | ||
| channel_id | Yes | ||
| channel_name | Yes | ||
| denied_by_overwrite | Yes | ||
| relevant_overwrites | Yes |