eu_pii_scrubber_anonymizer
[Stateless sovereign PII scrubber. Pure regex & Luhn/MOD-97 calculation, read-only, side-effect free]. Detects and pseudonymizes European personal identifiable information (Codice Fiscale, EU VAT, IBANs, Luhn credit cards, emails, phone numbers, and IPv4/IPv6 addresses) strictly within local memory under GDPR Art. 4(5) and Art. 32. Usage: Use this tool to sanitize sensitive text, contracts, medical records, or support tickets before forwarding to external LLMs or third-party platforms. Returns: JSON object with { originalLength: number, sanitizedLength: number, detectedEntityCount: number, detectedEntityTypes: array, entities: array, sanitizedText: string, sovereignAudit: object }.
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": "eu_pii_scrubber_anonymizer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw input text containing potential European PII to inspect and sanitize | |
| saltSecret | No | Optional salt for deterministic HMAC hashing | |
| replacementStrategy | No | Masking strategy (default: PSEUDONYMIZATION) |