toolParameterHasType

fun toolParameterHasType(functionName: String, parameterName: String, expectedType: String)(source)

Adds a matcher to verify that a tool's function parameter has the specified type.

Parameters

functionName

The name of the function

parameterName

The name of the parameter

expectedType

The expected type (e.g., "string", "integer", "number", "boolean", "object", "array")