detect_sensitive_words
Identifies sensitive words in text based on customizable categories to filter inappropriate content.
Instructions
Detect sensitive words in text using the Sensitive-lexicon library
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": "detect_sensitive_words"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to check for sensitive words | |
| categories | No | Optional: specific categories to check (e.g., ["political", "violence"]) |