Redact text already in context
redact_textRedact secrets in text you already have to create a safer copy for sharing in logs, tickets, or commits. Returns redacted text with a findings summary.
Instructions
Redacts secrets in text you ALREADY HAVE (for example before pasting logs into an issue, ticket, chat message or commit message) and returns the redacted copy with a findings summary. Honest limitation: the text you pass as the argument is already in the model context, and calling this tool does not remove it from there; it only produces a safer copy to share outward. To avoid putting a secret into the context at all, use redact_file with a path instead. Heuristic: can miss custom formats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to redact. NOTE: this text is already in your context; see the tool description. |