include/entropic/types/tool_result.hΒΆ
include/entropic/types/tool_result.h
Functions
const char * entropic::result_kind_to_string(ToolResultKind kind)
Serialize a ToolResultKind to its wire-stable string form.
- Parameters
kindβ Enum value.
- Returns
- Static null-terminated string. Never NULL.
Enums
ToolResultKind
Categorical outcome of a single tool invocation.
Values are serialized into the POST_TOOL_CALL hook context JSON as the result_kind string. Do NOT reorder or remove values β clients treat the string form as a stable contract.
ok0errorrejected_duplicaterejected_schemarejected_preconditionok_emptydelegation_failedrejected_anti_spiralrejected_unauthorized