Redact secrets and PII before sending text on
redact_textStrip emails, phone numbers, ID numbers, API keys, private keys, JWTs, card numbers and IPs out of text, returning the redacted text plus a mapping table to restore them afterwards. Rule-based only — no model sees the input. The same value always maps to the same placeholder, so the answer can be restored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | Optional comma-separated subset, e.g. "EMAIL,API_KEY,PRIVATE_KEY". | |
| text | Yes | The text to redact. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||