ToolCallStatus#
Create, compose, unload, and save session-local Python tools. See the guide.
- class zett_agent.jit_harness.enums.ToolCallStatus(*values)[源代码]#
How one dispatch attempt ended.
The value stays a plain string in JSON, so exported profiles and recent-error reports keep
"completed","failed","cancelled", and"rejected".COMPLETEDThe handler returned. A later serialization or lifecycle-hook failure does not change this record;
completedmeans the tool itself worked.FAILEDThe tool started and raised: argument validation, handler code, or a nested dependency error the handler did not catch.
CANCELLEDThe awaiting caller was cancelled, for example by request cancellation or
asynciotask cancellation. A synchronous worker may still be running because Python cannot forcibly stop it.REJECTEDThe harness refused the call before any handler body ran: the tool is unloaded, missing its base binding, no longer registered in the current request, or the nested call exceeded
max_call_depth.