Add or remove viewer points
points_addIncrease or decrease a viewer's current StreamElements loyalty points balance by supplying a positive or negative amount.
Instructions
Add points to a viewer's current balance, or remove points with a negative amount.
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": {
"user": "<user>",
"amount": "<amount>"
},
"name": "points_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Viewer username (login name, lowercase) | |
| amount | Yes | Points to add; negative to remove | |
| channel | No | StreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token. |