get_channel_command_index
Lists the application commands available in a specified Discord channel or DM so you can identify which slash commands can be used there.
Instructions
All commands usable in a channel or DM. [GET /channels/{channel_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": {
"channel_id": "<channel_id>"
},
"name": "get_channel_command_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel ID (text, voice, thread, forum or DM channel) |