Convert text case
convert_caseConvert text between naming conventions like snake_case, camelCase, PascalCase, and more. Handles existing styles and outputs the target case.
Instructions
Rewrite text into a naming convention: snake_case, kebab-case, slug, camelCase, PascalCase, CONSTANT_CASE, Title Case, Sentence case, UPPER or lower. Handles input that is already in any of these styles.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>",
"style": "<style>"
},
"name": "convert_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to convert. | |
| style | Yes | Target naming convention. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |