banUser
Ban users from Twitch chat to manage moderation. Provide a username and reason to remove disruptive viewers or review recent chat logs for assessment.
Instructions
Ban a user from the Twitch chat. If no username is provided, it will return the recent chat log for LLM review.
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": {
"usernameOrDescriptor": "<usernameOrDescriptor>",
"reason": "<reason>"
},
"name": "banUser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usernameOrDescriptor | Yes | Username or descriptor to ban (e.g. 'toxic', 'spammer', or a username) | |
| reason | Yes | Reason for ban (optional) |