{"uid":"cap_fC-POXNzlJfQz7LKK2rNe","slug":"agentshelf-strip-bom-text-normalizer-cb9b581a","name":"AgentShelf Strip-BOM Text Normalizer","description":"Call when an agent needs text normalized with strip-bom. No network and no LLM. Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/norm-strip-bom first.","url":"https://agentshelf.syntexa.ch/v1/norm-strip-bom?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.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_j182gy1yLuUEqVgnsUZ_A","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Removes UTF Byte Order Mark (BOM) characters from the beginning of a text string, returning a clean normalized version.","exampleAgentPrompt":"Can you strip the BOM from this text I got from a file: '\tefHello world, this came from a UTF-8 file and has an invisible byte order mark at the start'?","exampleUseCases":[{"title":"Sanitize file content before parsing","prompt":"I just read a CSV file and the first cell has a weird invisible character at the start — can you strip the BOM from this text so I can parse it cleanly: '\tefname,age,city'?"},{"title":"Normalize API input from legacy system","prompt":"Our legacy system outputs text with a UTF-8 BOM prefix and it's breaking our downstream pipeline. Can you remove the BOM from this string: '\tef{\"message\": \"hello\"}'?"},{"title":"Fix garbled text display","prompt":"This text copied from a Word document starts with a strange hidden character and is displaying weirdly. Please clean it up by stripping the byte order mark: '\tefMeeting notes for Q3 review'?"}],"resultDescription":"Returns the input text string with any leading BOM characters (such as the UTF-8 BOM \\xEF\\xBB\\xBF or UTF-16 BOM \\xFF\\xFE / \\xFE\\xFF) removed. If no BOM is present, the text is returned unchanged.","failureModes":["Text exceeds 100,000 character limit — returns validation error","Empty string input — rejected by minLength:1 constraint","Missing 'text' field in request body — returns schema validation error","Payment of exactly $0.006 USDC not provided — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, no-LLM, no-network operation to strip BOM characters from text. Ideal when you have a string that may have been exported from Windows tools, legacy systems, or UTF-16 sources and need to normalize it before further processing. Prefer this over regex-based BOM removal when you want a reliable, consistent microservice call. Always try the free sandbox endpoint POST /v1/sandbox/norm-strip-bom first to avoid paying $0.006 USDC unnecessarily.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:48:58.891Z","isFirstParty":false,"canonicalSlug":"agentshelf-strip-bom-text-normalizer-cb9b581a"}