mask_sensitive_data
Redacts personally identifiable information by replacing emails, phone numbers, and URLs with [REDACTED] tags to protect user data before external sharing.
Instructions
[INSTRUCTIONS] Use this before sending sensitive user content to external systems.
Redacts sensitive PII (emails, phones, URLs) from a text blob by replacing them with [REDACTED] tags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to sanitize. | |
| maskEmails | Yes | Set to true to mask email addresses. | |
| maskUrls | Yes | Set to true to mask web URLs. | |
| maskPhones | Yes | Set to true to mask phone numbers. |