GenericFunctionToolAsTool Method

Converts the current instance to a Tool object.

Definition

Namespace: GenerativeAI.Tools
Assembly: GenerativeAI.Tools (in GenerativeAI.Tools.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public Tool AsTool()

Return Value

Tool
A Tool representation of the current instance.

Implements

IFunctionToolAsTool

See Also