Set up roles in order (admin)
discord_admin_setup_rolesCreates or updates multiple Discord roles in one call, ordering them top to bottom; existing roles matched by name are updated and new ones are created.
Instructions
Create or update several roles at once, listed top to bottom, then order them that way. Existing roles (matched by name) are updated, others created. Colours are hex.
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": {
"roles": "<roles>"
},
"name": "discord_admin_setup_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | Yes | ||
| reason | No | Reason, recorded in Discord's audit log |