delete_role
Permanently removes a Discord role from a server and requires confirmation to prevent accidental deletion.
Instructions
Delete a role. Cannot be undone.
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": "<role>"
},
"name": "delete_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | Use this bot (name or id) instead of choosing automatically | |
| role | Yes | ||
| reason | No | Reason shown in the server's audit log | |
| server | No | Server name or id. Optional when the bot is in one server or DISCORD_GUILD_ID is set. | |
| confirm | No | Must be true to really do this permanent action; without it you get a preview | |
| dry_run | No | Show the requests that would be made without changing anything |