GDPR PII Shield & EU AI Act Anonymization Gate
redact_gdpr_pii_textDeterministically detects and redacts DACH and European personally identifiable information (IBAN, German Steuer-ID, EU VAT/USt-IdNr., Handelsregister HRB/HRA numbers, email addresses, and phone numbers) from unstructured text before forwarding prompts to external LLMs. Use this tool as a pre-flight privacy filter in agent pipelines. Executes strictly read-only in volatile EU RAM (input text is never persisted) and issues a signed Ed25519 anonymization Verifiable Credential.
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": {
"raw_text": "<raw_text>"
},
"name": "redact_gdpr_pii_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_text | Yes | Unstructured prompt, ticket, or document text to scan and redact for GDPR PII entities. | |
| max_accepted_fee_eur | No | Optional maximum x402 fee in EUR accepted by the caller (planned post-GmbH list price 0.008 EUR; 0.00 EUR in Pre-GmbH Shadow-Pass). Omit if unpaid. | |
| ap2_intent_mandate_id | No | Optional AP2 (Agent Payments Protocol) intent mandate reference ID for audit correlation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Credential types (including 'VerifiableCredential' and domain attestation type). | |
| proof | Yes | Ed25519 cryptographic signature proof verifiable via /.well-known/did.json. | |
| issuer | Yes | Cryptographic issuer DID ('did:web:iotpay.eu'). | |
| @context | No | W3C Verifiable Credentials context URIs. | |
| issuanceDate | Yes | ISO-8601 UTC issuance timestamp. | |
| credentialSubject | Yes | Deterministic verification verdict, structured findings, and SHA-256 payload hash. |