discord_mod_assign_role
Assign a role to a Discord server member using guild, user, and role IDs.
Instructions
Assigns a role to a member in a Discord server.
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_mod_assign_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roleId | Yes | The ID of the role to assign | |
| userId | Yes | The ID of the user | |
| guildId | Yes | The ID of the server |