Scan text for personal data and secrets
modelfinder_scan_sensitive_dataScan text for Aadhaar, PAN, cards, emails, UPI IDs, phone numbers and API keys before sending prompts to a provider. Returns category counts and a clean flag without exposing matched values.
Instructions
Detect Aadhaar (Verhoeff checked), PAN, payment cards (Luhn checked), email addresses, UPI IDs, Indian mobile numbers and API or private keys in text. Use before sending prompts or eval examples to a provider; modelfinder_create_eval_config already runs this on its examples. Read-only and local: no network calls, no files written. Returns categories, counts and a clean flag, never the matched values.
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": "modelfinder_scan_sensitive_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to scan, up to 1,000,000 characters. | |
| response_format | No | markdown (default) for a readable summary, json for the full machine-readable result. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | Yes | ||
| secrets | Yes | ||
| personal_data | Yes |