discord_list_channels
Retrieve all channels in a Discord server by guild ID, including each channel's ID, name, and type for bot or MCP workflows.
Instructions
List all channels in a Discord guild (server).
Returns a list of all channels with their IDs, names, and types.
Args:
guild_id: The ID of the Discord guild. Use discord_list_guilds to find guild IDs.
Returns:
JSON array of channel objects.
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": {
"guild_id": "<guild_id>"
},
"name": "discord_list_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | The ID of the Discord guild (server) to list channels for. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |