redact_trace
Removes secrets and personal data from trace or log excerpts, returning cleaned text safe to paste into tickets.
Instructions
Remove secrets and personal data from a trace or log excerpt, returning the cleaned text.
Removes API keys and tokens (JWT, Bearer, AWS, GitHub, Slack, Stripe, Google, sk-...), password=/token= style values, credentials in URLs, emails, IPv4 and full IPv6 addresses, and user names in home directories (C:\Users\name, /home/name, /Users/name). Safe to run before pasting a trace into a ticket. Every other tool also redacts its output by default.
Args: text: Text to clean (max 5,000,000 characters).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |