Adjust viewer all-time points
points_add_alltimeAdd to or subtract from a viewer's all-time loyalty points total, using a negative amount to deduct points. Adjust channel point balances for StreamElements users.
Instructions
Add to a viewer's all-time points total, or subtract 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_alltime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Viewer username (login name, lowercase) | |
| amount | Yes | All-time 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. |