Delete Discord role
discord_delete_roleDeletes a Discord role after confirmation and backup acknowledgement, helping admins remove obsolete roles safely. Requires guild and role IDs, with optional reason and backup controls.
Instructions
Delete a Discord role after confirmation and backup acknowledgement.
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": {
"guildId": "<guildId>",
"roleId": "<roleId>"
},
"name": "discord_delete_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| roleId | Yes | ||
| confirm | No | ||
| guildId | Yes | ||
| backupId | No | ||
| allowWithoutBackup | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| name | No | ||
| error | No | ||
| action | Yes | ||
| roleId | No | ||
| userId | No | ||
| guildId | No | ||
| updated | No | ||
| positions | No |