Update spam filter document
filters_update_settingsReplaces a channel's complete spam filter document so you can update ban phrases and filter settings together in one request.
Instructions
Replace the channel's spam filter document. The API documents the body as { banphrases, filter }. Get the current document with filters_list, change it, and send it back. To change one filter, filters_update is simpler.
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": {
"settings": "<settings>"
},
"name": "filters_update_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | StreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token. | |
| settings | Yes | Filter document to save |