permissions_audit_channel
Audit which guild roles can view, send in, or manage a channel or thread. Each role is evaluated independently to reveal allow, deny, or unknown access baselines.
Instructions
Purpose: Audit which individual guild roles can view, send in, or manage one channel or thread. Each role is evaluated independently with @everyone; member-specific overwrites and multi-role combinations are intentionally excluded. Thread management uses MANAGE_THREADS.
When to use:
Review channel exposure before redesigning roles or permission overwrites.
Find role baselines that allow, deny, or cannot prove channel access.
When NOT to use:
Determining one member's effective access; use
permissions_explainfor that member.Predicting whether a locked or archived thread operation will succeed right now; this audits permission baselines, not mutable thread state.
Mutating roles or overwrites; this tool is read-only.
Returns: a compact per-role action matrix plus allowed, denied, and unknown counts. Omit actions to audit all three actions; select fewer actions to reduce output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | No | Optional action subset; defaults to view_channel, send_messages, manage_channel | |
| guild_id | Yes | Guild whose roles should be audited | |
| channel_id | Yes | Guild channel or thread whose role baselines should be audited |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||