81trust / 100

Dev Case Converter

by AgentTools in Documents & files

x402 APIPassing, checked 5 h ago

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.

GET https://agenttools-hub.vercel.app/api/v1/dev/case-converter

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
179 ms typical, 179 ms slowest 5%
Last check
5 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://agenttools-hub.vercel.app/api/v1/dev/case-converter?style=camel&text=hello+world"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagenttools-hub.vercel.app%2Fapi%2Fv1%2Fdev%2Fcase-converter
const res = await pay("https://agenttools-hub.vercel.app/api/v1/dev/case-converter?style=camel&text=hello+world");
console.log(await res.json());

Example input

{
  "style": "camel",
  "text": "hello world"
}

Example output

{
  "result": {
    "answer": "helloWorld",
    "answerLabel": "As camelCase",
    "details": [
      {
        "label": "Words detected",
        "value": "2"
      },
      {
        "label": "As UPPER CASE",
        "value": "HELLO WORLD"
      },
      {
        "label": "As lower case",
        "value": "hello world"
      },
      {
        "label": "As Title Case",
        "value": "Hello World"
      },
      {
        "label": "As Sentence case",
        "value": "Hello world"
      }
    ],
    "steps": [
      "Split input into 2 word(s)",
      "Apply camelCase transformation"
    ],
    "value": null
  },
  "tool": "case-converter"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402179 ms$0.002