list_commands
Discovers available slash and context-menu commands in a Discord channel or DM so you can identify commands from bots and installed apps, with optional filtering by command or app.
Instructions
List slash commands and context-menu commands you can use in a channel/DM (from all bots there and your user-installed apps).
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": "list_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Filter by command or app name | |
| channel_id | Yes | ||
| application_id | No |