delimit_redact
Scan or redact API keys, secrets, and PII from text to prevent data leakage before sending 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 | |||