ToolLoopInspector

Read-only observer for tool loop lifecycle events. Use for logging, metrics, debugging - does not modify state.

Inheritors

Functions

Link copied to clipboard

Called after each complete iteration (all tool calls processed). Default no-op.

Link copied to clipboard

Called after LLM returns a response, before processing tool calls. Default no-op.

Link copied to clipboard

Called after each tool produces a result. Default no-op.

Link copied to clipboard

Called before each LLM invocation. Default no-op.