classifinder_redact
Scan text for secrets and replace them with safe placeholders to prevent data leaks before sending to LLMs or logging systems.
Instructions
Scan text and replace all detected secrets with safe placeholders.
Returns clean text safe to forward to any LLM or logging system. Use this before sending user input to a model.
Args: text: The text to redact. redaction_style: How to replace secrets. Options: "label" - [AWS_ACCESS_KEY_REDACTED] (default) "mask" - AKIA************** "hash" - [REDACTED:sha256:a1b2c3d4]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| redaction_style | No | label |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |