Skip to main content

Module observer

Module observer 

Expand description

An Observer that records tool-call outcomes and token usage from a run.

Structsยง

RecordedCall
One dispatched tool call as observed at the dispatch boundary.
RecordingObserver
Captures each dispatched tool call (name, arguments, result, success) and accumulates reported token usage across the run.