discord_remove_role
Removes a specified role from a Discord server member using user and role IDs, with an optional server ID defaulting to the active server.
Instructions
Remove a role from a server 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": {
"user_id": "<user_id>",
"role_id": "<role_id>"
},
"name": "discord_remove_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_id | Yes | The ID of the role to remove. | |
| user_id | Yes | The ID of the user. | |
| guild_id | No | Server ID (defaults to active server). |