{"uid":"cap_N8pafAfo70i4fysbdaQUR","slug":"agentshelf-syntexa-ch-text-norm-trim-lines-98b44d92","name":"agentshelf.syntexa.ch Text Norm Trim Lines","description":"Call when an agent needs text normalized with trim-lines. No network and no LLM. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/norm-trim-lines first.","url":"https://agentshelf.syntexa.ch/v1/norm-trim-lines?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.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EOxtM617nCOm-fKcxFZpi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes text by trimming leading and trailing whitespace from each line, with no network calls or LLM involvement","exampleAgentPrompt":"Can you trim the leading and trailing whitespace from every line in this text block: '  Hello World  \\n  foo bar  \\n   baz  '?","exampleUseCases":[{"title":"Normalize pasted user input","prompt":"I have some user-pasted text with messy indentation and trailing spaces on every line — can you clean it up by trimming each line? Here it is: '   name: Alice   \\n   age: 30   \\n   city: Zurich  '"},{"title":"Standardize code snippet formatting","prompt":"This code snippet has inconsistent leading and trailing whitespace on each line, can you normalize it so every line is properly trimmed? Text: '  def foo():  \\n    return 1  \\n  '"},{"title":"Clean CSV rows before processing","prompt":"Before I process this CSV data, I need all the whitespace trimmed from the start and end of each line — can you do that? Here's the content: '  id, name, value  \\n  1, Alice, 100  \\n  2, Bob, 200  '"}],"resultDescription":"Returns the input text with leading and trailing whitespace stripped from every line, preserving line structure but removing extraneous spaces and tabs at line boundaries.","failureModes":["Empty or missing text field returns a validation error","Text exceeding 100,000 characters is rejected","Malformed JSON body returns a parse error","Payment of exactly $0.004 USDC required; incorrect payment amount causes payment failure"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, pure-compute line-trimming normalization with no LLM or external network calls. It is ideal when you want a guaranteed exact result (not AI-generated), need low latency, and want to avoid LLM inference costs. Prefer the free sandbox endpoint /v1/sandbox/norm-trim-lines first if available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:53:57.927Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-text-norm-trim-lines-98b44d92"}