discord_list_channels
List a Discord server's channels and categories, optionally filtered by type or name, to find channel IDs before reading or posting. Returns markdown or JSON; threads excluded.
Instructions
List a server's channels and categories, optionally filtered by kind or name.
The usual way to find a channel_id before reading or posting. Threads are not
included — use discord_list_threads.
Returns: Markdown table (name, type, ID, category, topic) or JSON list of channel objects
with id, name, type, parent_id, position, topic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only return channels of this kind. | |
| guild_id | No | Server (guild) ID. Omit to use DISCORD_GUILD_ID from .env. | |
| name_contains | No | Case-insensitive substring filter on the name, e.g. 'general'. | |
| response_format | No | 'markdown' for reading, 'json' for full structured data. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |