{"uid":"cap_p-HYz2mlyQPUcxLr63IAU","slug":"agent402-tools-content-cleaner-3ff57cde","name":"agent402.tools Content Cleaner","description":"Bundled execution of the Content cleaner workflow — Clean and deduplicate text — redact PII, remove duplicate lines, and sort in one pass. One x402 payment runs 3 underlying tools (redact, dedupe-lines, sort-lines); partial-success per step.","url":"https://agent402.tools/api/skill/content-clean","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to clean"}}},"responseSchema":{"type":"json","example":{"args":{"text":"line b\\nline a\\nline b\\nemail: test@test.com"},"pack":"content-clean","steps":[{"ok":true,"slug":"redact","result":{}},{"ok":true,"slug":"dedupe-lines","result":{}},{"ok":true,"slug":"sort-lines","result":{}}],"summary":"3/3 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CbqqjWGw8ZaR7YCT48Qf_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Cleans and deduplicates text in one pass: redacts PII, removes duplicate lines, and sorts lines, with a single x402 micropayment.","exampleAgentPrompt":"Can you clean up this text for me — redact any personal info, remove duplicate lines, and sort everything: 'John Smith, john@example.com\nJane Doe, jane@example.com\nJohn Smith, john@example.com\nAlice, alice@corp.org'?","exampleUseCases":null,"resultDescription":"Returns the cleaned text after three sequential passes: PII redacted (emails, names, phone numbers, etc. replaced or masked), duplicate lines removed, and lines sorted alphabetically — each step reporting partial success so you know which stages completed.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Extremely large text payloads may time out or exceed size limits","Payment failure (insufficient USDC balance) causes a 402 response before processing begins","Partial success: one or more sub-steps (redact, dedupe, sort) may fail while others succeed, with per-step status reported","Network or upstream service error returns a 5xx response"],"whenToPreferThis":"Use this endpoint when you need to perform all three text-cleanup operations — PII redaction, deduplication, and sorting — in a single atomic call rather than chaining three separate tools. It is more cost-efficient (one $0.05 payment) and simpler than orchestrating individual steps. Prefer it for preprocessing raw user-generated content, log files, or scraped data before storage or sharing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:09:44.431Z","isFirstParty":false}