scan_text
Detect & redact PII and secrets in text (private_key, jwt, aws_access_key, github_token, stripe_key, slack_token, openai_key, google_api_key, sendgrid_key, npm_token, gitlab_token, twilio_key, slack_webhook, azure_storage_key, basic_auth_url, email, ssn, ipv4, eth_address, iban, credit_card, phone). Deterministic; returns findings (masked), counts, and a redacted copy. Use before logging/forwarding untrusted or agent-generated text. Costs $0.005 per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| api_key | No | Watchtower API key with a funded balance. REQUIRED for this paid tool. Get one via create_api_key then fund it by card at /v1/topup. No free trial. (REST callers can instead pay per call via x402 — see https://watchtower-api.com/docs.) |