get_guild_command_index
Retrieves all slash and context commands available in a Discord server with application info, enabling discovery and correct execution of server commands.
Instructions
All slash/context commands available in a server (with application info). run_slash_command uses this for you. [GET /guilds/{guild_id}/application-command-index]
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": {
"guild_id": "<guild_id>"
},
"name": "get_guild_command_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Server (guild) ID |