Class ToolInvokedEventArgs
Event fired when a tool invocation starts.
public sealed record ToolInvokedEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<ToolInvokedEventArgs>
- Inheritance
-
EventArgsToolInvokedEventArgs
- Implements
-
IEquatable<EventArgs>
- Inherited Members
-
EventArgs.ToString()EventArgs.GetHashCode()EventArgs.Equals(EventArgs)EventArgs.<Clone>$()EventArgs.BiDiEventArgs.AdditionalDataEventArgs.AdditionalMessageData
Constructors
ToolInvokedEventArgs(string, FrameId, string, string)
Event fired when a tool invocation starts.
public ToolInvokedEventArgs(string ToolName, FrameId FrameId, string InvocationId, string Input)
Parameters
ToolNamestringName of the tool to invoke.
FrameIdFrameIdFrame id
InvocationIdstringInvocation identifier.
InputstringThe input parameters used for the invocation.
Properties
FrameId
Frame id
public FrameId FrameId { get; init; }
Property Value
Input
The input parameters used for the invocation.
public string Input { get; init; }
Property Value
InvocationId
Invocation identifier.
public string InvocationId { get; init; }
Property Value
ToolName
Name of the tool to invoke.
public string ToolName { get; init; }