discord_find_channel_by_name
Find Discord channels by case-insensitive name substring to resolve a channel ID when only the channel name is known; results also note hidden channels.
Instructions
Find channels whose name contains a substring (case-insensitive). Returns { matches: [...], hiddenChannels } with the id, name and type of every match, active threads included. Channels that Discord hides from the bot behind the placeholder name hidden are left out of matches and counted in hiddenChannels; when it is above 0, a note field says a channel missing from matches may still exist. The list is empty when nothing matches. Useful for resolving a channel_id when you only know the channel's name. Use discord_list_channels to see every channel grouped by category.
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": "<name>"
},
"name": "discord_find_channel_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Case-insensitive substring to match against channel names. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| matches | Yes | ||
| hiddenChannels | Yes |