delete_role
Remove a Discord role from a guild through the Discord REST API, with an optional audit-log reason. Confirm with the user before running this destructive action.
Instructions
APAGA um cargo. Confirme com o usuário antes.
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": "delete_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| role_id | Yes | ||
| guild_id | Yes |