ToolCallInspector

Read-only observer for individual tool call events.

Provides observation of tool execution without access to conversation history or iteration state. Works in both streaming and non-streaming modes as a lightweight alternative to ToolLoopInspector when history/iteration context is not needed).

See also

for tool loop-level inspection with full conversation context

Inheritors

Functions

Link copied to clipboard

Called after tool execution completes (success or failure). Default no-op.

Link copied to clipboard

Called before tool execution starts. Default no-op.