{"uid":"cap_D94qqgLXFtUziyyQUWr2v","slug":"moneytools-pii-redact-8d2df9a5","name":"MoneyTools PII Redact","description":"Catalog of MoneyTools: 116 cheap, read-only tools for AI agents. Free daily tier, then x402 USDC micropayments or prepaid credits. Token safety, approvals, tx decoding, EIP-712 risk, gas, ENS, x402 validation, DNS, RDAP, JSON Schema, time, FX.","url":"https://tools.moneytools.dev/v1/pii-redact?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"type":"string","examples":["label"],"description":"label | mask"},"text":{"type":"string","examples":["Call me at +1 415 555 0100 or mail jane@example.com, card 4242 4242 4242 4242"],"description":"text"}}},"responseSchema":{"type":"json","example":{"note":"Pattern-based; review before sharing. Input is not stored. SEED_PHRASE/PRIVATE_KEY patterns are conservative (64-hex and 12-24 lowercase words).","total":3,"counts":{"CARD":1,"EMAIL":1,"PHONE":1},"redacted":"Call me at [PHONE] or mail [EMAIL], card [CARD]"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kvjFb17rBIICHEfPhsXDu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects and redacts or labels personally identifiable information (PII) in text, including phone numbers, email addresses, and credit card numbers","exampleAgentPrompt":"Can you scan this text and label all the PII in it — phone numbers, emails, credit card numbers — without masking anything yet: 'Call me at +1 415 555 0100 or mail jane@example.com, card 4242 4242 4242 4242'","exampleUseCases":[{"title":"Sanitize support ticket before logging","prompt":"Before we store this support message in our logs, mask all the PII in it: 'Hi, I'm John Doe, my email is john@doe.com and my card ending in 4242 is being charged incorrectly.'"},{"title":"Audit user input for sensitive data","prompt":"Label all the personally identifiable information in this string without changing the text — just tell me what's PII and where: 'Reach me at jane@example.com or +44 7911 123456'"},{"title":"Pre-process LLM prompt for privacy","prompt":"I'm about to send this user message to an external AI model — please mask any emails, phone numbers, or card numbers in it first: 'My number is 555-867-5309 and my Visa is 4111 1111 1111 1111'"}],"resultDescription":"A JSON response indicating detected PII entities in the input text, either as labeled spans identifying the type and location of each PII element (label mode) or as a sanitized version of the text with PII replaced by placeholder tokens (mask mode), covering phone numbers, email addresses, credit card numbers, and similar sensitive data.","failureModes":["Missing 'text' field returns a validation error","Invalid 'mode' value (not 'label' or 'mask') may return an error or fall back to default behavior","Very long text inputs may hit size limits","Non-English or unusual formatting may reduce detection accuracy","Ambiguous numeric strings may cause false positives or missed detections"],"whenToPreferThis":"Use this endpoint when you need a lightweight, cheap ($0.001/call) read-only PII detection or masking step in a pipeline — especially for pre-processing text before logging, storing, or forwarding to third-party AI models. Prefer it over heavy NLP frameworks when you just need phone, email, and card number detection without standing up infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T18:40:46.166Z","isFirstParty":false,"canonicalSlug":"moneytools-pii-redact-8d2df9a5"}