Remove Discord role
discord_remove_roleRemoves a role from a Discord guild member using guild ID, user ID, and role ID; supports optional reason and confirmation for guarded role management.
Instructions
Remove a role from a guild member.
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>",
"userId": "<userId>",
"roleId": "<roleId>"
},
"name": "discord_remove_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| roleId | Yes | ||
| userId | Yes | ||
| confirm | No | ||
| guildId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| name | No | ||
| error | No | ||
| action | Yes | ||
| roleId | No | ||
| userId | No | ||
| guildId | No | ||
| updated | No | ||
| positions | No |