{"uid":"cap_k1R4F8ScSgGyCsC1nHh-_","slug":"agentshelf-flat-case-text-transform-f8adcc40","name":"AgentShelf Flat Case Text Transform","description":"Call when an agent needs text rewritten with the flat case transform. No network and no LLM. Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/case-flat first.","url":"https://agentshelf.syntexa.ch/v1/case-flat?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_Z1Mz_BvrJJNATZmKnFpuG","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":"Converts input text to flat case (all lowercase, no spaces or separators) without using a network or LLM","exampleAgentPrompt":"Can you rewrite the text 'Hello World Example String' using the flat case transform so it comes out as all lowercase with no spaces or separators?","exampleUseCases":[{"title":"Normalize identifier for database key","prompt":"Take the label 'User Profile Settings' and convert it to flat case so I can use it as a database key — all lowercase, no spaces."},{"title":"Format slug for URL generation","prompt":"Rewrite 'My Awesome Blog Post Title' in flat case so I can use it as part of a URL path."},{"title":"Standardize variable name in codegen","prompt":"I need to flatten the string 'Total Revenue Q4 2024' into flat case for a generated variable name — can you do that?"}],"resultDescription":"Returns the input text transformed to flat case: all characters lowercased and spaces/separators removed, producing a single continuous lowercase string. No LLM or external network call is made; transformation is deterministic and purely local.","failureModes":["Empty string input returns a validation error (minLength:1 not met)","Text exceeding 100,000 characters returns an error (maxLength exceeded)","Malformed JSON body returns a 400 Bad Request","Insufficient USDC balance or missing x402 payment header returns a 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, offline flat case conversion at a fixed cost of $0.006 USDC. It performs no LLM inference and no network calls, making it fast and consistent. If an unpaid sandbox version at POST /v1/sandbox/case-flat is available, prefer that first to avoid costs during development.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:59.237Z","isFirstParty":false,"canonicalSlug":"agentshelf-flat-case-text-transform-f8adcc40"}