Check Banned Words
sdnext_prompt_bannedChecks a prompt against a banned-words list and returns any matched words, ensuring prompt compliance and content safety.
Instructions
Check a prompt against a banned-words list and return matched words (SD.Next /sdapi/v1/prompt-banned).
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": {
"prompt": "<prompt>"
},
"name": "sdnext_prompt_banned"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| words | No | Comma-separated banned words (default: server banned list). | |
| prompt | Yes | Prompt text to check. |