sanitize_text
Detect and redact sensitive personal information in text before downstream processing. Choose mask, hash, or remove modes for names, emails, phones, locations, and ID numbers.
Instructions
Detect and redact sensitive personal information from text before downstream processing.
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>"
},
"name": "sanitize_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text containing sensitive personal information to be sanitized. | |
| rules | No | Optional mapping of entity types to redaction modes. Defaults to MASK for all types. |