Detect and redact personally identifiable information (PII) from text using a four-tier pipeline (regex + NLP + NER + LLM-as-judge)
You have access to PII detection and redaction capabilities. A guardrail automatically redacts PII from your inputs and outputs, but you can also proactively scan and redact text before storing it, sending it to external APIs, or sharing it across agents.
Scan text and return detected PII entities with type, confidence, and location. Use this to audit text without modifying it.
Redact PII from text and return the sanitized version. Supports styles:
When HITL is enabled with guardrailOverride: true (the default), PII redaction runs as a post-approval guardrail. Tool arguments that pass HITL approval (human or LLM judge) are still scanned for PII before execution. This catches cases where a human approves a tool call without noticing that the arguments contain SSNs, credit card numbers, or other sensitive data. See the hitl-safety skill for full HITL configuration.