About this endpoint
What it does
Converts the provided text to the requested case style and returns the applied case, the converted text, and the tool name in a JSON object.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| text | String | Yes | The input text to convert. |
| case | ENUM | Yes | The case style to apply. Allowed values: upper, lower, title, sentence, camel, pascal, snake, kebab, constant, alternating, inverse. |
Response
Returns a JSON object with three string fields: tool, case, and result. The tool field identifies the tool that produced the response, case echoes the applied case from the request, and result contains the converted text.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| tool | String | Yes | Name of the tool that produced the response. |
| case | String | Yes | The case that was applied (echoes the request). |
| result | String | Yes | The converted text. |



