Set user permission level
bot_levels_addAssign a custom bot permission level to a user in StreamElements to control their chat access. Set levels like 300 for regular or 500 for moderator.
Instructions
Give a user a custom bot permission level. StreamElements permission levels: 100 everyone, 250 subscriber, 300 regular, 400 VIP, 500 moderator, 1000 super moderator, 1500 broadcaster.
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": {
"username": "<username>",
"level": "<level>"
},
"name": "bot_levels_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Permission level, e.g. 300 for regular or 500 for moderator | |
| channel | No | StreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token. | |
| username | Yes | Username (login name, lowercase) |