toolHasParameter

fun toolHasParameter(functionName: String, parameterName: String)(source)

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

Parameters

functionName

The name of the function

parameterName

The name of the parameter to check


fun toolHasParameter(functionName: String, parameterName: String, description: String)(source)

Adds a matcher to verify that a tool's function has a parameter with the specified name and description.

Parameters

functionName

The name of the function

parameterName

The name of the parameter to check

description

The expected description of the parameter