Explain permissions
explain_permissionsChecks whether a bot or member has a specific Discord permission server-wide or in a channel and explains the role and overwrite chain behind the result.
Instructions
Answer whether an actor (the bot, or a member) has a given permission, server-wide or in a channel, and explain the result through the role and overwrite chain. The answer is Discord's own permission check when Discord gives one, so it includes the implicit rules (a missing View Channel cancels what depends on it). For a member's whole permission list, use get_member_permissions; for everything a member can reach, get_member_access.
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": {
"actor": "<actor>",
"permission": "<permission>"
},
"name": "explain_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | A member name or ID, or "bot". | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| channel | No | Check in this channel instead of server-wide. | |
| permission | Yes | Permission name, like manage_messages. |