discord_upsert_role
Create or update a guild role in Discord while respecting role hierarchy limits.
Instructions
Create or modify a guild role. Role hierarchy still limits what the bot can manage.
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>",
"body": "<body>"
},
"name": "discord_upsert_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| dryRun | No | ||
| reason | No | ||
| roleId | No | ||
| guildId | Yes |