IFunctionTool Interface

[Missing <summary> documentation for "T:GenerativeAI.Core.IFunctionTool"]

Definition

Namespace: GenerativeAI.Core
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public interface IFunctionTool

Methods

AsTool Converts the current instance to a Tool object.
CallAsync Executes the specified FunctionCall asynchronously and retrieves the resulting FunctionResponse containing any output from the function execution.
IsContainFunction Determines whether the specified function exists within the current tool's context.

See Also