check_profanity
Detect profanity in text and return matched words, severity, and positions across multiple languages, with options for custom words, leetspeak, and Unicode normalization.
Instructions
Check text for profanity and get detailed results including matched words, severity, and positions
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": {
"text": "<text>"
},
"name": "check_profanity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to check for profanity | |
| languages | No | Languages to check against. Defaults to all languages. | |
| customWords | No | Additional custom words to detect | |
| ignoreWords | No | Words to ignore | |
| caseSensitive | No | Whether matching should be case-sensitive. Default: false | |
| wordBoundaries | No | Only match whole words. Default: true | |
| detectLeetspeak | No | Detect leetspeak obfuscation (e.g., 'f4ck'). Default: false | |
| normalizeUnicode | No | Normalize Unicode homoglyphs. Default: true |