{"uid":"cap_Kic5jcPJxb4Zn_T0I75XF","slug":"agent-format-case-conversion-f4f84a10","name":"Agent Format – Case Conversion","description":"Encoding utilities for AI agents: base64 encode/decode, hex encode/decode, URL slugify, JWT header/payload decode (no signature verify), and case conversion. Pay-per-request USDC via x402. No API keys, no accounts.","url":"https://agent-format.annushka1190.workers.dev/v1/case","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"const":"http"},"method":{"enum":["POST"]},"bodyType":{"const":"json"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JjEnVuSCbiVWDPtXQZKcG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text between different casing styles (e.g. camelCase, snake_case, kebab-case, UPPER_CASE) via a pay-per-request USDC endpoint","exampleAgentPrompt":"Can you convert the string 'myVariableName' to snake_case using the Agent Format case conversion tool?","exampleUseCases":[{"title":"Normalize API field names to snake_case","prompt":"I have a bunch of camelCase field names from a JavaScript object — like 'firstName', 'createdAt', 'userId' — can you convert all of them to snake_case so I can use them in my Python backend?"},{"title":"Reformat CSS class names to kebab-case","prompt":"Can you take this PascalCase component name 'UserProfileCard' and convert it to kebab-case so I can use it as a CSS class?"},{"title":"Produce SCREAMING_SNAKE_CASE constants","prompt":"I need to turn the phrase 'maximum retry attempts' into a SCREAMING_SNAKE_CASE constant name for my config file — can you do that?"}],"resultDescription":"Returns a JSON object with ok: true and the case-converted string output, reflecting the requested casing transformation applied to the input text.","failureModes":["Missing or empty input string returns a validation error","Unrecognized target case format may return an error or default behavior","Network timeout if the Workers.dev endpoint is under load","Payment failure (x402) if USDC balance is insufficient or x402 header is malformed"],"whenToPreferThis":"Choose this endpoint when an AI agent needs lightweight, no-auth, pay-per-call string case conversion without setting up API keys or accounts. Ideal for automation pipelines that occasionally need to reformat identifiers, variable names, or labels between coding conventions. Particularly useful when combined with other Agent Format utilities (base64, hex, slugify) in the same workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:40.074Z","isFirstParty":false}