Table of Contents

Class BeforeToolInvocationEventArgs

Namespace
LMKit.TextGeneration.Events
Assembly
LM-Kit.NET.dll

Raised just before a tool is invoked. Handlers may set Cancel to true to skip the invocation.

public sealed class BeforeToolInvocationEventArgs : EventArgs
Inheritance
BeforeToolInvocationEventArgs
Inherited Members

Properties

Cancel

Set to true to cancel the invocation. When cancelled, no call to the tool is performed.

ToolCall

The tool call the model requested.