Read exact Discord application-command definition
get_application_command_definitionReads an exact global or guild application command definition, including typed options, choices, and localizations, anchored to a specified guild for auditing without invocation authority.
Instructions
Read one exact global or guild command definition owned by the pinned current application, anchored to an explicitly readable guild. Returns bounded transient untrusted descriptions, nested typed options, choices and observed localizations. Optional fields distinguish omitted, null and reported; unknown fields, locales and future enum values are count-only partial evidence. Applies no defaults and grants no invocation or mutation authority. No raw payload, persistence, inventory scan or name fallback; live propagation and localization completeness are unverified.
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": {
"guildId": "<guildId>",
"scope": "<scope>",
"commandId": "<commandId>"
},
"name": "get_application_command_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| guildId | Yes | Exact allowed guild read anchor; also the command guild for guild scope | |
| commandId | Yes | Exact command ID owned by the verified current application |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| schemaVersion | Yes |