Interface IToolTrackingObserver
- Namespace
- Oscova.Agents.Middleware
- Assembly
- Oscova.Agents.dll
Observer that receives tool execution lifecycle notifications from the tracking middleware. Callbacks receive the full Microsoft.Extensions.AI.FunctionCallContent so observers can inspect the call id and arguments in addition to the function name.
public interface IToolTrackingObserverMethods
- OnToolCompleted(FunctionCallContent)
-
Called when a tool call completes successfully.
- OnToolFailed(FunctionCallContent)
-
Called when a tool call fails.
- OnToolStarted(FunctionCallContent)
-
Called when a tool call has been parsed and is about to execute.