# AgentTools Text Case Converter

> AgentTools Text Case Converter is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Converts input text to one of nine letter cases including UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE with automatic camelCase boundary splitting.

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/dev/case-converter?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-text-case-converter-8df027a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4PGxPNDikYrhWfk0Gw6vx

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-text-case-converter-8df027a8
```

Example prompt: Can you convert the text 'hello world example' to camelCase for me?

## When to prefer this

Use this endpoint when an agent needs programmatic, reliable text case conversion across all nine common conventions — especially when automatic camelCase boundary splitting is needed. Prefer this over regex-based in-agent logic when determinism and coverage across all nine styles is required.

## Known failure modes

- Missing required 'text' query parameter returns an error
- Invalid 'style' enum value returns a validation error
- Empty string input may return an empty string or error
- Very long strings may be truncated or time out

## 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

The API returns the input text reformatted in the requested case style (e.g. 'helloWorld', 'hello_world', 'HELLO_WORLD'). camelCase and PascalCase conversions automatically detect word boundaries even in already-cased input.

## 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-text-case-converter-8df027a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
