discord_delete_role
Delete a Discord server role by ID or name while respecting role hierarchy protections. Use it to remove obsolete or unwanted roles through an MCP-enabled Discord workflow.
Instructions
Delete a role from the server (hierarchy protected).
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 |
|---|---|---|---|
| role_id | Yes | Role ID or name to delete. | |
| guild_id | No | Optional guild ID. |