validateTextSafety
Check a message for profanity in English, Malay, Mandarin, and Tamil before it is spoken. Get a safe/found result with detected languages to prevent inappropriate automated calls.
Instructions
Check a message for profanity / swear words (English, Bahasa Malaysia, Mandarin, Tamil) before it is spoken (POST /v1/validate-text-safety). Returns { safe, found, languages }.
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": "validateTextSafety"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text/message to check |