# Agent Data Tools: Text Case Converter

> Agent Data Tools: Text Case Converter is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Converts a given text string into a specified casing style (camel, pascal, snake, kebab, constant, title, sentence, upper, or lower)

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/case?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-text-case-converter-934e68b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dEE9WaNNQQha_0IaTwNf3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-data-tools-text-case-converter-934e68b9
```

Example prompt: Convert the text 'user profile id' to camelCase for me.

## When to prefer this

Choose this endpoint when you need a simple, pay-per-call text casing conversion without setting up any account or API key. Ideal for AI agents that need on-demand string normalization as part of a code generation, data transformation, or content formatting workflow, particularly when already operating within the x402 micropayment ecosystem on Base.

## Known failure modes

- Missing required `text` query parameter returns an error
- Missing or invalid `to` case style returns an error (must be one of: camel, pascal, snake, kebab, constant, title, sentence, upper, lower)
- Empty string input may return an empty result
- Payment failure via x402 means the call is not charged but also not processed

## How this service works

Convert text or identifiers between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, UPPER and lower. Handles mixed input like 'userID_value'. Use when renaming fields or generating code identifiers.

## Output

A JSON object with a single `result` field containing the input text reformatted in the requested casing style (e.g. {"result": "userProfileId"}).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text",
  "to"
 ],
 "properties": {
  "to": {
   "type": "string",
   "description": "camel, pascal, snake, kebab, constant, title, sentence, upper or lower"
  },
  "text": {
   "type": "string",
   "description": "The text"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-text-case-converter-934e68b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
