delimit_redact
Scan or redact sensitive data such as API keys, passwords, and PII from text to prevent data leakage when sending prompts to external LLMs.
Instructions
Scan or redact sensitive data (API keys, secrets, PII) from text.
Use before sending prompts to external LLMs to prevent data leakage. Detects: API keys (OpenAI, xAI, Google, GitHub, npm), passwords, bearer tokens, emails, phone numbers, SSNs, credit cards, IPs, DB URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | "scan" or "redact". | scan |
| text | No | Text to scan/redact. | |
| categories | No | Comma-separated categories (api_key, secret, pii, infra). Empty = all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||