{"uid":"cap_vtwUterZC6a7cAUmPWlqs","slug":"text-case-converter-b831cd96","name":"Text Case Converter","description":"Convert text between case styles: snake_case, camelCase, PascalCase, kebab-case, Title Case, CONSTANT_CASE.","url":"https://x402.agentindex.world/text/case?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","title":"Text"},"target_case":{"type":"string","title":"Target Case","pattern":"^(snake|camel|pascal|kebab|title|upper_snake|constant)$"}}},"responseSchema":{"type":"json","example":{"result":"hello_world_example"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3pJgEPTZ24pT_Mquu-bN8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a text string into a specified case format (snake_case, camelCase, PascalCase, kebab-case, Title Case, UPPER_SNAKE_CASE, or CONSTANT_CASE)","exampleAgentPrompt":"Convert the text 'hello world example' to snake_case for me.","exampleUseCases":[{"title":"Variable name normalization for codegen","prompt":"I have the label 'Total Revenue By Region' and I need it as a camelCase variable name for my JavaScript code — can you convert it?"},{"title":"Database column naming from user input","prompt":"Take the string 'User First Name' and convert it to snake_case so I can use it as a PostgreSQL column name."},{"title":"CSS class name formatting","prompt":"I need the phrase 'Primary Button Large' reformatted in kebab-case for a CSS class — can you do that?"}],"resultDescription":"A JSON object with a 'result' field containing the input text converted to the requested case format (e.g. {\"result\": \"hello_world_example\"}).","failureModes":["Invalid target_case value not matching the allowed enum returns an error","Missing or empty 'text' input may return an error or empty result","Very long strings may timeout or be truncated","Special characters or Unicode text may produce unexpected output depending on tokenization logic"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, pay-per-call string case conversion without spinning up a local utility or installing a library. Ideal for AI agent workflows that dynamically generate identifiers, column names, CSS classes, or code symbols from user-supplied natural language text and need a reliable, hosted transformation step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:39:43.405Z","isFirstParty":false,"canonicalSlug":"text-case-converter-b831cd96"}