scan_pii
Scan text for PII such as email, phone, SSN, credit card, IBAN, IP, MAC, passport, and date of birth; return per-match details or optional [REDACTED_] placeholders.
Instructions
Scan text for Personally Identifiable Information (email, phone, SSN, credit card, IBAN, IP, MAC, passport, date of birth, etc). Returns a full ScanResult with per-match details. Use redact_pii for a reversible vault-backed redaction.
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_pii"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to scan for PII | |
| redact | No | When true, returns sanitized text with [REDACTED_<TYPE>] placeholders (no vault — not reversible). For a reversible round-trip call redact_pii instead. |