ai_pii_redact_batch
AI PII redaction (batch) — Redact personal data (names, emails, phones, addresses, IDs) from up to 10 texts in one call via Workers AI. texts = items separated by | or newlines, or a JSON array. Returns each redacted text with counts by type, plus totals and how many texts contained PII. Price: $0.02 USDC (Base, via x402).
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": {
"texts": "<texts>"
},
"name": "ai_pii_redact_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | e.g. Call Jane Doe at 615-555-0100|Email bob@example.com about the invoice |