{"uid":"cap_-bQioKJB5AHTfx_POfJBZ","slug":"agentshelf-newline-to-cr-converter-d12ee787","name":"Agentshelf Newline to CR Converter","description":"Call when an agent needs newlines normalized to cr. No network and no LLM. Send JSON {\"text\":\"Hello, World!\"}. Exact $0.008 USDC on Base. Try unpaid POST /v1/sandbox/newline-cr first.","url":"https://agentshelf.syntexa.ch/v1/newline-cr?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.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rfdtMdXKPS7BhlknW-Hpp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes newline characters in text to carriage return (CR, \\r) without any network calls or LLM processing","exampleAgentPrompt":"Can you normalize all the newlines in this text to carriage returns (CR only)? Here's the text: 'Hello\\nWorld\\nThis is a test\\n'","exampleUseCases":[{"title":"Legacy system CR line ending prep","prompt":"I need to send this multi-line config block to a legacy system that only accepts carriage return line endings — can you convert all the newlines to CR? The text is: 'host=localhost\\nport=8080\\nmode=production'"},{"title":"Old Mac format text conversion","prompt":"Convert this text to use old Mac-style carriage return line endings instead of Unix newlines: 'First line\\nSecond line\\nThird line'"},{"title":"Sanitize pasted user input line endings","prompt":"I've got some user-submitted text with mixed line endings and I need it normalized to CR only before storing it — here's the text: 'Name: John\\r\\nAge: 30\\nCity: Zurich'"}],"resultDescription":"Returns the input text with all newline characters (\\n, \\r\\n, etc.) replaced/normalized to carriage return (\\r) characters only. No LLM inference, no network calls — pure deterministic string transformation.","failureModes":["Empty or missing text field returns a validation error","Text exceeding 100,000 characters is rejected","Malformed JSON request body returns a 400 error","Payment of exactly $0.008 USDC required; underpayment results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, zero-latency conversion of newline characters to CR with no LLM overhead and no external network calls. Prefer the free sandbox endpoint POST /v1/sandbox/newline-cr first if available. Choose this paid endpoint when the sandbox is unavailable or rate-limited and you need guaranteed processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:55:50.096Z","isFirstParty":false,"canonicalSlug":"agentshelf-newline-to-cr-converter-d12ee787"}