commands_get_command_permissions
Retrieve permission overrides for a single guild command to see which roles or users can use it.
Instructions
Purpose: Get permission overrides for ONE specific command in a guild.
Returns: {id, application_id, guild_id, permissions:[{id, type, permission}]}.
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>",
"command_id": "<command_id>"
},
"name": "commands_get_command_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Guild scope | |
| command_id | Yes | Command ID (snowflake) | |
| application_id | Yes | Bot/app application ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||