aegis_redact_sensitive_data
Redact PII and secrets from free-form text or JSON objects, including emails, credit cards, IBANs, JWTs, private keys, tokens, and phone numbers.
Instructions
Deterministically redact PII and secrets (emails, Luhn-validated credit cards, ISO 7064 mod-97 IBANs, Spanish DNI/NIE, JWTs, PEM private keys, cloud/API tokens, E.164 phone numbers, and high-entropy secrets) from free-form text or a JSON object. Read-only and idempotent; does not write to the audit ledger. Provide at least one of 'text' or 'payload'. Do NOT use this when you need threat scoring or RBAC enforcement (use aegis_inspect_tool_call instead).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "aegis_redact_sensitive_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Optional free-form string to redact. | |
| payload | No | Optional JSON object to redact recursively. |