Interface IApprovalGate
Gate that blocks a tool call until an approver responds. The agent loop calls
before dispatching a tool whose
is set — that flag is the only trigger in this
release; a tool's side-effect class does not reach the gate on its own.
public interface IApprovalGate
Methods
AwaitAsync(ApprovalRequest, CancellationToken)
Awaits an approval decision for the given tool call.
Task<ApprovalDecision> AwaitAsync(ApprovalRequest request, CancellationToken ct = default)