redact_text
Redact personal data in text and return the redacted output plus detected entities by type, position, and placeholder, without returning original values.
Instructions
Redact personal data in a text and return the redacted text plus the detected entities (type, position, placeholder). Original values are not returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "label" replaces with [TYPE_n] placeholders, "mask" with asterisks. | label |
| text | Yes | Text to redact. | |
| types | No | Only these types; default all. |