modify_guild_role_positions
Reorder Discord server roles by specifying role IDs and target positions to change hierarchy order and permission priority in a guild.
Instructions
Reorder roles. positions: [{id, position}]. [PATCH /guilds/{guild_id}/roles]
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>",
"positions": "<positions>"
},
"name": "modify_guild_role_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason (shown in the audit log) | |
| guild_id | Yes | Server (guild) ID | |
| positions | Yes | Array body |