Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
tool_result.h File Reference

Typed outcome for POST_TOOL_CALL hook consumers. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Enumerations

enum class  entropic::ToolResultKind {
  entropic::ok = 0 , entropic::error , entropic::rejected_duplicate , entropic::rejected_schema ,
  entropic::rejected_precondition , entropic::ok_empty , entropic::delegation_failed , entropic::rejected_anti_spiral
}
 Categorical outcome of a single tool invocation. More...
 

Functions

const char * entropic::result_kind_to_string (ToolResultKind kind)
 Serialize a ToolResultKind to its wire-stable string form.
 

Detailed Description

Typed outcome for POST_TOOL_CALL hook consumers.

Stable contract for the result_kind field on the POST_TOOL_CALL hook context JSON. Clients branch on this enum's string form rather than regex-matching engine-authored human-readable prose. Engine wording (denial messages, error text) may change freely across releases; these enum values do not.

Precedent: mirrors the ValidationVerdict / relay_status pattern introduced in rc17/rc18. (E10, 2.0.6-rc19)

Version
2.0.6-rc19

Definition in file tool_result.h.