Table of Contents

Event AfterToolInvocation

Namespace
LMKit.Retrieval
Assembly
LM-Kit.NET.dll

Fired after a tool invocation finishes (or when it was cancelled/errored).

public event EventHandler<AfterToolInvocationEventArgs> AfterToolInvocation

Returns

EventHandler<AfterToolInvocationEventArgs>
Fired after a tool invocation finishes (or when it was cancelled/errored).
Implements

Examples

chat.AfterToolInvocation += (sender, e) =>
{
    Console.WriteLine($"Tool {e.ToolName} completed: {e.Result}");
};
Share