Click or drag to resize

AIToolCall Class

Represents a single tool-call request returned by the AI.
Inheritance Hierarchy
SystemObject
  Seal.AIAIToolCall

Namespace: Seal.AI
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public class AIToolCall

The AIToolCall type exposes the following members.

Constructors
 NameDescription
Public methodAIToolCallInitializes a new instance of the AIToolCall class
Top
Properties
 NameDescription
Public propertyArgumentsJSON string containing the arguments the AI supplied.
Public propertyId Provider-issued call identifier. Pass it back via ToolChatMessage when submitting the tool result.
Public propertyNameName of the tool the AI wants to invoke.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLogMessage Logs a message to the current ExecutionLog if one is set.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldCancelOperation Optional cancellation source propagated from the outer Chat(String, ICancelOperation, ReportExecutionLog, ReportExecutionLog, Int32, ActionString) loop. Execution scripts should poll CancelOperation?.Cancel inside any long-running loop and abort early when it is true.
Public fieldExecutionLog Current log for the tool execution
Public fieldSecurityContext Current security user for the tool execution
Top
See Also