discord_set_role_position
Move a role to a new position in the server's role hierarchy to change permission precedence and member ordering. Requires the bot's role to be above the target position.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| role_id | Yes | ID (snowflake) of the role to reposition. | |
| position | Yes | New hierarchy position (0 = lowest, just above @everyone). Higher numbers rank higher. |