Table of Contents

Event ToolApprovalRequired

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

Fired when a tool invocation requires user approval before execution.

public event EventHandler<ToolApprovalRequestEventArgs> ToolApprovalRequired

Returns

EventHandler<ToolApprovalRequestEventArgs>
Fired when a tool invocation requires user approval before execution.
Implements

Remarks

This event is raised when the ToolPermissionPolicy evaluates a tool and returns ApprovalRequired. Set Approved to true to allow execution. If no handler is subscribed or approval is not granted, the tool call is denied.

Share