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]
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": "classifinder_redact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| redaction_style | No | label |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |