List channels
list_channelsLists server channels in sidebar order with IDs and types. Filter by type, category, or name fragment to locate channels, and use type "thread" to list active threads.
Instructions
Lists server channels in sidebar order (categories with their channels), with IDs and types. Filter by type, category or a name fragment; type "thread" lists active threads (archived ones: list_threads). Use get_channel for details of one channel.
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 this channel type. | |
| guild | No | Server ID or name. Optional if DISCORD_GUILD_ID is set or the bot is in one server. | |
| limit | No | Max items to return (1-200, default 100). | |
| query | No | Only channels whose name contains this text. | |
| cursor | No | The next_cursor value from a previous call. | |
| category | No | Only channels in this category (ID or name). |