Skip to main content

Function: snakeToCamel()

snakeToCamel(str): string

Defined in: toolDefinitions.ts:27

Folds _ and - separators into camelCase. OpenAPI operation and parameter names may be snake_case (agent_id) or kebab-case (list-tools), and MCP tool inputs are camelCase by convention, so both are folded here.

Parameters

ParameterType
strstring

Returns

string