{"uid":"cap_8d41cmwCWcxcNxKvCj_79","slug":"coco-strip-html-tool-45e0081f","name":"CoCo Strip HTML Tool","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/strip-html?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{"html":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"text":"Example"},"exampleNote":"Computed offline with demonstration inputs; time/random values are illustrative."},"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_IAhx5t83gcCICUoxBxOiR","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":"Strips HTML tags from an HTML string and returns the plain text content","exampleAgentPrompt":"Can you strip the HTML tags from this string and give me just the plain text: '<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph.</p>'?","exampleUseCases":[{"title":"Clean scraped web content","prompt":"I just scraped this HTML from a webpage and need you to remove all the tags so I can read just the text: '<div class=\"article\"><h2>Breaking News</h2><p>Something <em>important</em> happened today.</p></div>'"},{"title":"Sanitize user-submitted HTML","prompt":"A user submitted this comment with HTML in it — strip out all the tags and give me the plain text only: '<b>Great product!</b> I <i>love</i> it. <script>alert(\"xss\")</script>'"},{"title":"Extract email body text from HTML email","prompt":"This email came in as HTML and I need just the readable text without any markup: '<html><body><p>Dear Customer,</p><p>Your order <strong>#12345</strong> has shipped!</p></body></html>'"}],"resultDescription":"A JSON object with a 'text' field containing the plain text content extracted from the input HTML string, with all HTML tags removed.","failureModes":["Missing 'html' query parameter returns an error or empty result","Malformed or deeply nested HTML may produce unexpected text output","Very large HTML strings may hit request size limits","Non-HTML input (e.g. plain text or JSON) is returned as-is or with minimal transformation"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call HTML-to-text conversion without setting up a local parser. Ideal for agents processing web-scraped content, sanitizing user input, or extracting readable text from HTML emails or templates on the fly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:06.230Z","isFirstParty":false,"canonicalSlug":"coco-strip-html-tool-45e0081f"}