discord_check_tool_permissions
Checks whether the bot has permissions required by specified tools in a Discord guild and whether an optional channel is visible. Use before multi-step actions to fail early with actionable errors.
Instructions
Given a guild and a list of tool names, report for each whether the bot currently holds the permissions that tool needs, and whether the target channel is visible to it. Read-only. Use this before a multi-step operation to fail early with an actionable message instead of partway through.
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>",
"tools": "<tools>"
},
"name": "discord_check_tool_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tools | Yes | Tool names to check, e.g. ['discord_create_channel', 'discord_ban_member']. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| channel_id | No | Optional channel to also check visibility in. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| summary | Yes | ||
| guild_id | Yes | ||
| channel_visible | Yes |