discord_remove_role
Remove a role from a Discord member to update permissions or revert an assignment. Requires Manage Roles permission and role below bot's highest role; idempotent so missing roles are ignored.
Instructions
Remove a role from a member. Requires the Manage Roles permission, and the role must be below the bot's highest role. Idempotent: removing a role the member doesn't have has no effect. Reverses discord_add_role.
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>",
"user_id": "<user_id>",
"role_id": "<role_id>"
},
"name": "discord_remove_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason recorded in the server audit log. | |
| role_id | Yes | ID (snowflake) of the role to remove. | |
| user_id | Yes | Discord user ID (snowflake) of the member to remove the role from. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). |