Tool.Function

Tool.Function method

Creates a new tool instance with the specified function.

public static Tool Function(Function function)
ParameterTypeDescription
functionFunctionThe function that the model can call.

Return Value

A new tool instance with the specified function.

See Also