delete_role
Delete a role from a Discord server by providing the guild ID and role ID, along with an optional reason for the audit log.
Instructions
Delete a role from the server
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 |
|---|---|---|---|
| guild_id | Yes | ||
| role_id | Yes | ||
| reason | No | Audit log reason (optional) |