# AgentTools Case Converter

> AgentTools Case Converter is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Converts text between nine letter cases including UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE with automatic camelCase boundary detection

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/dev/case-converter?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-case-converter-3b83d2c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lChAd9TYZIOEbuD-fMPHf

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 agenttools-case-converter-3b83d2c7
```

Example prompt: Convert 'hello world from my app' to camelCase for me.

## When to prefer this

Use this endpoint when an agent needs to programmatically reformat text into a specific casing convention for code generation, database schemas, CSS classes, environment variables, or display purposes. Particularly useful when the input may be camelCase that needs boundary-splitting before reconversion to another style. Prefer over regex hacks or LLM-based reformatting when deterministic, consistent output is required.

## Known failure modes

- Missing required 'text' query parameter returns an error
- Invalid 'style' enum value (not one of the nine accepted values) returns a validation error
- Empty string input may return an empty string or error
- Very long strings may time out or be truncated
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Convert text between nine letter cases: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. camelCase boundaries are split automatically. Use this when an agent needs to camelCase, snake_case, kebab-case and more.

## Output

Returns the input text reformatted in the requested case style. camelCase boundary detection automatically splits compound words. The response contains the converted string ready for use in code, configs, or display contexts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Text"
      },
      "style": {
       "enum": [
        "upper",
        "lower",
        "title",
        "sentence",
        "camel",
        "pascal",
        "snake",
        "kebab",
        "constant"
       ],
       "type": "string",
       "description": "Convert to"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttools-case-converter-3b83d2c7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
