discord_delete_role
Permanently delete a Discord server role and remove it automatically from every member who held it. Use only when irreversible role removal is intended.
Instructions
Permanently delete a role from the server; it is automatically removed from every member who held it. IRREVERSIBLE. Requires the Manage Roles permission, and the role must be below the bot's highest role. To take the role from one member only, use discord_remove_role.
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>",
"role_id": "<role_id>"
},
"name": "discord_delete_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason recorded in the server audit log. | |
| role_id | Yes | ID (snowflake) of the role to delete. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). |