pii_redact
Redact PII and secrets from text before it reaches an LLM or a log: emails, phones, SSNs, credit cards, IBANs, IP addresses and API keys, with a list of what was removed. Paid via x402 ($0.002 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Includes asOf and source. Invalid input is rejected without payment. Free trial: 3 unpaid calls/day per IP on this tool (HTTP: header X-Free-Trial: 1; MCP: automatic when no payment is sent).
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 | Text to check (up to 100,000 characters). Use POST with a JSON body for long text. / Texto a revisar. | |
| style | No | Replacement style: label ([EMAIL_1], default), mask (****) or type ([EMAIL]). | |
| types | No | Optional comma list: all (default), pii, secrets, or specific types (email, phone, us_ssn, credit_card, iban, ipv4, openai_api_key, aws_access_key_id, github_token, jwt, private_key, password_assignment, …). |