discord_delete_role
Deletes a Discord role and removes it from every member, with an optional audit log reason. This action is irreversible, so confirm before use.
Instructions
Delete a role, removing it from every member. Irreversible — confirm with the user first.
Returns: Confirmation.
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": {
"role_id": "<role_id>"
},
"name": "discord_delete_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason recorded in the server's audit log. | |
| role_id | Yes | ||
| guild_id | No | Server (guild) ID. Omit to use DISCORD_GUILD_ID from .env. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |