commands_get_guild_command_permissions
commands_get_guild_command_permissions
Section titled “commands_get_guild_command_permissions”Category: commands
List per-command permission overrides for ALL commands in a guild.
When to use
Section titled “When to use”When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
application_id | string | yes | Bot/app application ID |
guild_id | string | yes | Guild scope |
Returns
Section titled “Returns”\{permissions:[\{id, application_id, guild_id, permissions:[\{id, type, permission\}]\}], count\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
permissions | array | yes | |
count | number | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |
Source
Section titled “Source”packages/mcp-core/src/tools/commands/get_guild_command_permissions.ts