discord_delete_role
Permanently delete a Discord server role, removing it from every member who held it. This irreversible action requires Manage Roles permission and a role below the bot's highest role.
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.
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). |