JITToolCompletedEvent#

Create, compose, unload, and save session-local Python tools. See the guide.

class zett_agent.jit_harness.extension.JITToolCompletedEvent(session_id, call, origin, *, success, error)[source]#

CUSTOM event reporting how one management or dynamic tool call ended.

success mirrors the ToolMessage and error_type names the exception class when the call failed. Arguments and results are not repeated here; read the matching profile() record, joined on tool_call_id, for sizes, timing, and caller.

Parameters:
  • session_id (str)

  • call (ToolCall)

  • origin (ToolOrigin)

  • success (bool)

  • error (Exception | None)