create_role
Create a room role with optional permissions (manage roles, create polls, invite). Requires can_manage_roles (the room creator has it).
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": {
"room": "<room>",
"name": "<name>"
},
"name": "create_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the role. | |
| room | Yes | Slug of the room. | |
| can_invite | No | Grant invite permission to holders. | |
| can_create_polls | No | Grant poll-creation permission to holders. | |
| can_manage_roles | No | Grant role-management permission to holders. |