Table of Contents

Class ToolTrackingMiddleware

Namespace
Oscova.Agents.Middleware
Assembly
Oscova.Agents.dll

Extension method that adds tool execution tracking to an Microsoft.Extensions.AI.IChatClient pipeline via Microsoft.Extensions.AI.FunctionInvokingChatClient.

public static class ToolTrackingMiddleware

Inheritance

Inherited Members

Methods

UseToolTracking(ChatClientBuilder, ToolTrackingObserverAccessor, ILogger?)

Adds function invocation tracking to the chat client pipeline. The accessor provides the current Oscova.Agents.Middleware.IToolTrackingObserver which is notified of tool start, completion, and failure events.