{"uid":"cap_9H9ezt2DwnbtAaGAfMmpQ","slug":"strip-zero-width-characters-from-text-2874f381","name":"Strip Zero-Width Characters from Text","description":"Call when an agent needs text normalized with strip-zero-width. No network and no LLM. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/norm-strip-zero-width first.","url":"https://agentshelf.syntexa.ch/v1/norm-strip-zero-width?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["Hello, World!"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a_EY0eDZVIHKn0nE4G3Bl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Removes zero-width Unicode characters from a text string, returning a normalized clean version","exampleAgentPrompt":"Can you strip all zero-width characters out of this text: 'He​llo​ Wor​ld' — it has invisible Unicode characters embedded in it that I need removed before I store it.","exampleUseCases":[{"title":"Sanitize copy-pasted user input","prompt":"This text was pasted from a website and I think it has hidden zero-width characters in it — can you clean it up: 'Prod​uct N​ame'? I need a version with no invisible Unicode before I put it in our database."},{"title":"Normalize document content before NLP","prompt":"Before I run sentiment analysis on this customer review, can you strip any zero-width Unicode characters from it? The text is: 'Gre​at se​rvice, lo​ved it!'"},{"title":"Remove invisible characters from API response","prompt":"I got this string back from a third-party API and it seems to have zero-width joiners or spaces in it: 'Or​der #​1042'. Can you normalize it by removing all those hidden characters so I can match it against our records?"}],"resultDescription":"Returns the input text with all zero-width Unicode characters (e.g. zero-width space U+200B, zero-width non-joiner U+200C, zero-width joiner U+200D, zero-width no-break space U+FEFF, etc.) stripped out, leaving only visible characters","failureModes":["Empty or missing 'text' field returns a validation error","Text exceeding 100,000 characters is rejected","Payment of exactly $0.005 USDC required; incorrect or missing payment results in 402 response","Malformed request body returns 400 error"],"whenToPreferThis":"Choose this endpoint when you need a guaranteed, deterministic, no-LLM removal of zero-width Unicode characters from text — particularly useful before string matching, storage, NLP pipelines, or display rendering where hidden characters can cause subtle bugs. Prefer the free sandbox endpoint POST /v1/sandbox/norm-strip-zero-width first if available; use this paid endpoint when the sandbox is unavailable or rate-limited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:53:52.057Z","isFirstParty":false,"canonicalSlug":"strip-zero-width-characters-from-text-2874f381"}