Scan Text for AI Leaks & PII
scan_text_for_ai_leaksStatelessly inspect prompt text, support transcripts, or tool JSON for API keys, bearer tokens, private keys, emails, phone numbers, IPs, SSNs, credit cards, and custom sensitive terms, returning masked text and finding counts.
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": "scan_text_for_ai_leaks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Prompt, log snippet, or JSON payload string to inspect for sensitive entities. | |
| custom_terms | No | Optional exact sensitive strings (e.g. project codenames or client names) to mask. |