List channels
list_channelsReturns the Discord channels a bot can see, grouped by category with type and topic; filter by text, voice, forum, stage, announcement, or category.
Instructions
The channels in a server the bot can see, grouped by category, with type and topic. Filter by type: text, voice, forum, stage, announcement, category. Channels the bot lacks View Channel on are left out by Discord; hidden_from_bot says how many when any are.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only return channels of this type. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. |