discord_set_role_position
Move a Discord role up or down the server role hierarchy to control permission precedence and member-list ordering.
Instructions
Move a role up or down in the server's role hierarchy, which determines permission precedence and member-list ordering. Higher position = higher in the list. Requires the Manage Roles permission, and the target position must be below the bot's highest role.
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>",
"role_id": "<role_id>",
"position": "<position>"
},
"name": "discord_set_role_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_id | Yes | ID (snowflake) of the role to reposition. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| position | Yes | New hierarchy position (1 = lowest, just above @everyone, which sits at 0). Higher numbers rank higher. |