pii_redact
PII detection and redaction, remove personal data and secrets from text. Find and redact personal and secret data in text by pattern: email addresses, phone numbers, payment card numbers (Luhn-checked), IBANs, US SSNs, IP addresses, API keys and tokens, and passwords in URLs. Returns the redacted text and what was found (types and positions, not the values). Pattern-based: it can miss things, and it does not detect names or street addresses. Runs in memory only; the text is never stored or logged. Price: $0.002 per call (x402, USDC on Base).
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": "pii_redact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| style | No | label | |
| types | No | EMAIL,PHONE,CARD,IBAN,US_SSN,IP,SECRET,URL_CREDENTIALS | |
| region | No | US |