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.
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. |