get_application_command_permissions
Retrieves a Discord application command's permission settings in a guild to check which roles and users can access it.
Instructions
Get Application Command Permissions. [GET /applications/{application_id}/guilds/{guild_id}/commands/{command_id}/permissions]
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": "get_application_command_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Server (guild) ID | |
| command_id | Yes | Application command ID | |
| application_id | Yes | Application (app/bot) ID |