convert_case
Pack: textcase · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/convert_case for the schema, then POST the same URL with its arguments for the data.
Convert text to a target case: camel, pascal, snake, kebab, constant, title, sentence, lower, upper, dot, or slug (keyless, offline).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
text | string | yes | The text to convert. |
target | string | yes | Target case: camel | pascal | snake | kebab | constant | title | sentence | lower | upper | dot | slug. |
Example call
Arguments
{
"text": "hello world example",
"target": "camel"
}
curl
curl -X POST https://gateway.pipeworx.io/textcase/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"convert_case","arguments":{"text":"hello world example","target":"camel"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('convert_case', {
"text": "hello world example",
"target": "camel"
});
More examples
{
"text": "convert_this_text",
"target": "kebab"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the textcase pack
{
"mcpServers": {
"textcase": {
"url": "https://gateway.pipeworx.io/textcase/mcp"
}
}
}
See Getting Started for client-specific install steps.