List a Discord server's channels
list_discord_channelsList the text and announcement channels of the server a Discord bot connection is in, with whether the bot can post in each (canPost, and the reason when it cannot). A post to a bot connection needs metadata.discord.channels[platformConnectionId] set to one of these channel ids. Webhook connections post to a fixed channel and need none.
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": {
"platformConnectionId": "<platformConnectionId>"
},
"name": "list_discord_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | No | Organization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one. | |
| platformConnectionId | Yes | The connected account's ID (from list_platform_connections) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | No | ||
| channels | No |