Leak Guard: check text BEFORE your agent sends or stores it for API keys, passwords, private keys, card numbers and personal data, and get a redacted copy
scan_for_leaksDetects secrets (AWS, GitHub, OpenAI, Anthropic, Google, Slack and Stripe keys, private keys, JWTs, database connection strings, bearer tokens, password assignments, crypto private keys, high-entropy tokens next to key/secret words) and personal data (emails, phone numbers, Luhn-valid card numbers, checksum-valid IBANs, US SSNs, IP addresses). Returns risk level, masked findings with line numbers and a redacted_text that is safe to send. include=secrets checks only secrets. Nothing is stored or logged. Price 0.002 USDC per call; first 3 calls per day free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "scan_for_leaks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Outgoing message, email, post, code or document (max 300,000 chars) | |
| include | No | all (default) or secrets only | |
| payment | No | Optional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts. | |
| allow_contact_info | No | Treat emails/phone numbers alone as acceptable (safe_to_send stays true) |