commands_get_guild_command_permissions
Lists per-command permission overrides for all commands in a Discord guild using an application ID and guild ID, returning each override's ID, type, and permission.
Instructions
Purpose: List per-command permission overrides for ALL commands in a guild.
Returns: {permissions:[{id, application_id, guild_id, permissions:[{id, type, permission}]}], count}.
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": {
"application_id": "<application_id>",
"guild_id": "<guild_id>"
},
"name": "commands_get_guild_command_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Guild scope | |
| application_id | Yes | Bot/app application ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||