Add/remove loyalty points
loyalty_pointsAdd or remove loyalty points for a viewer by username and amount; use a negative value to deduct.
Instructions
Add or remove a viewer's loyalty points. Use a negative amount to remove points.
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>",
"amount": "<amount>"
},
"name": "loyalty_points"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Points to add; use a negative number to remove. | |
| platform | No | The platform the viewer is on. | twitch |
| username | Yes | The viewer username. |