Scan for PII & Harmful Content
rai_scanScan text for PII like email, phone, SSN, credit card, and IP, plus harmful content such as hate speech, violence, or self-harm. Get findings and a redacted copy.
Instructions
Scan text for PII (email, phone, SSN, credit card, IP address) and harmful content (hate speech, violence, self-harm). Returns findings and a redacted copy.
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": "rai_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to scan | |
| redact | No | Replace detected PII with [REDACTED] |