Manage Redaction Rules
manage_redaction_rulesConfigure automatic text and metadata redaction by enabling PII presets, adding custom terms or regex patterns, and testing rules on sample text.
Instructions
Configure automatic text & metadata redaction: enable/disable PII presets (ssn, credit_card, email, phone, secrets, bank_account, ipv4), add/remove custom literal terms or regexes, or test redaction on sample text (action='test').
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": {
"action": "<action>"
},
"name": "manage_redaction_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | ||
| label | No | REDACTED | |
| action | Yes | ||
| preset | No | ||
| enabled | No | ||
| pattern | No | ||
| sample_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||