Test message against filters
filters_test_messageCheck whether a message would be caught by a StreamElements channel's spam filters, so you can validate moderation settings before sending.
Instructions
Check whether a message would be caught by the channel's spam filters. StreamElements documents the body only as { origin, data } with no further detail.
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": {
"origin": "<origin>",
"data": "<data>"
},
"name": "filters_test_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The message payload to test (undocumented; typically includes the message text) | |
| origin | Yes | Where the message comes from, as StreamElements expects it (undocumented) | |
| channel | No | StreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token. |