discord_assign_role
Assign a Discord server role to a member by specifying the member ID, mention, or username and the role ID or name.
Instructions
Assign a role to 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": {
"member_id": "<member_id>",
"role_id": "<role_id>"
},
"name": "discord_assign_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_id | Yes | Role ID or role name. | |
| guild_id | No | Optional guild ID. | |
| member_id | Yes | User ID, mention, or username. |