Plan Discord member role change
plan_member_role_changePrepares a one-shot, keyed plan to add or remove a single Discord member role, validating permissions, hierarchy, allowlists, and impact before any write.
Instructions
Prepare a process-bound keyed plan for one exact Discord member-role add or remove. Verifies pinned application and bot identity, separate exact guild and role allowlists, protected and special-member boundaries, complete roles, continuity-stable complete direct-channel metadata, MANAGE_ROLES, strict bot and target hierarchy, add-time permission escalation constraints, unknown-bit evidence, and bounded before-and-after guild and channel impact without writing or persisting names, permissions, or audit reasons. Any obfuscated channel blocks both actions.
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": {
"action": "<action>",
"auditReason": "<auditReason>",
"guildId": "<guildId>",
"operationKey": "<operationKey>",
"roleId": "<roleId>",
"userId": "<userId>"
},
"name": "plan_member_role_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| roleId | Yes | ||
| userId | Yes | ||
| guildId | Yes | ||
| auditReason | Yes | ||
| operationKey | Yes | Unique one-shot operation key; keep unchanged through review and never reuse after reservation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| schemaVersion | Yes |