create_role
Creates a new Discord role in a guild, allowing configuration of name, color, permissions, hoist, and mentionable settings.
Instructions
Cria um cargo.
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>",
"name": "<name>"
},
"name": "create_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | ||
| hoist | No | ||
| reason | No | ||
| guild_id | Yes | ||
| mentionable | No | ||
| permissions | No | 0 |