discord_remove_role
Removes a specified role from a Discord server member, reversing role assignment; use it when a member should no longer have that role.
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. Use discord_bulk_remove_role for many members, or discord_delete_role to delete the role itself.
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). |