{"uid":"cap_R3seO5i55eHK2Pe8WanmU","slug":"agentshelf-swap-case-transform-4194cf8a","name":"AgentShelf Swap Case Transform","description":"Call when an agent needs text rewritten with the swap case transform. No network and no LLM. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/case-swap first.","url":"https://agentshelf.syntexa.ch/v1/case-swap?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.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5BmE8bV-VL7wAvaZiRRMW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rewrites input text by swapping the case of every character (uppercase becomes lowercase and vice versa) with no network calls or LLM involvement.","exampleAgentPrompt":"Can you swap the case of this text so every uppercase letter becomes lowercase and every lowercase letter becomes uppercase: 'Hello World, This Is A Test!'?","exampleUseCases":[{"title":"Code comment case inversion","prompt":"Take this comment string 'TODO: Fix This Bug ASAP' and swap the case of every character so uppercase becomes lowercase and lowercase becomes uppercase."},{"title":"Stylized social media post","prompt":"I want to make this caption look quirky — can you swap the case on 'Just another Monday morning' so it alternates between upper and lower?"},{"title":"Text transformation pipeline step","prompt":"As part of my data pipeline, I need the string 'Product Name: Widget Pro MAX 3000' to have its case fully swapped — all caps become lowercase and all lowercase become uppercase."}],"resultDescription":"Returns the input text with every alphabetic character's case inverted — uppercase letters become lowercase and lowercase letters become uppercase; non-alphabetic characters are passed through unchanged.","failureModes":["Empty or missing 'text' field returns a validation error","Text exceeding 100,000 characters is rejected","Payment of exactly $0.003 USDC is required; incorrect payment amount results in a 402 error","Malformed JSON request body results in a 400 error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, pure swap-case transformation with no AI inference involved and want a guaranteed exact result. It is faster and cheaper than asking an LLM to perform case swapping. Prefer the free sandbox endpoint POST /v1/sandbox/case-swap first if available; use this paid endpoint when the sandbox is unavailable or you need production reliability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:53:35.845Z","isFirstParty":false,"canonicalSlug":"agentshelf-swap-case-transform-4194cf8a"}