{"uid":"cap_elMCDb_lN96uXivn1anHv","slug":"agentshelf-newline-lf-normalizer-f18491f9","name":"Agentshelf Newline LF Normalizer","description":"Call when an agent needs newlines normalized to lf. No network and no LLM. Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/newline-lf first.","url":"https://agentshelf.syntexa.ch/v1/newline-lf?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_sjMHH8dQexwLkFBeh1JwH","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":"Normalizes all newline sequences in a text string to Unix LF (\\n) line endings","exampleAgentPrompt":"Can you normalize all the line endings in this text to Unix LF? The text is: 'Hello\\r\\nWorld\\r\\nThis is a test\\r\\n'","exampleUseCases":[{"title":"Normalize pasted Windows text","prompt":"I copied some text from a Windows document and it has CRLF line endings everywhere — can you convert all the newlines to plain LF so my Linux script can process it correctly?"},{"title":"Sanitize user input before storage","prompt":"Before I save this user-submitted form text to the database, can you make sure all the line endings are normalized to LF? Here's the raw input: 'Line one\\r\\nLine two\\nLine three\\r'"},{"title":"Prepare source code for diff","prompt":"I need to compare two files but one has Windows-style line endings and one has Unix-style — can you convert this text to LF only so the diff doesn't flag every single line?"}],"resultDescription":"Returns the input text with all newline sequences (CRLF \\r\\n, CR \\r, and any other variants) replaced with Unix LF (\\n) characters. No network calls or LLM processing is performed; this is a pure deterministic text transformation.","failureModes":["Empty or missing 'text' field returns a validation error","Text exceeding 100,000 characters is rejected","Payment of exactly $0.006 USDC required; incorrect payment amount results in payment error","Network or server unavailability causes request failure"],"whenToPreferThis":"Choose this endpoint when you need a guaranteed deterministic, no-network, no-LLM normalization of newlines to LF in a text string up to 100,000 characters. Prefer the free sandbox endpoint (POST /v1/sandbox/newline-lf) for testing or when cost avoidance is important. Use this paid endpoint when the sandbox is unavailable or when operating in a production pipeline requiring reliable uptime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:13.753Z","isFirstParty":false,"canonicalSlug":"agentshelf-newline-lf-normalizer-f18491f9"}