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.
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>",
"maskEmails": "<maskEmails>",
"maskUrls": "<maskUrls>",
"maskPhones": "<maskPhones>"
},
"name": "mask_sensitive_data"
}
}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. |