Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::PreconditionCheck Struct Reference

Outcome of precondition checks for a single tool call. More...

#include <entropic/mcp/tool_executor.h>

Public Attributes

std::optional< Messagerejection
 Rejection message (nullopt if cleared)
 
ToolResultKind kind = ToolResultKind::ok
 Category on rejection.
 

Detailed Description

Outcome of precondition checks for a single tool call.

Binds the rejection message (if any) with the categorical ToolResultKind so POST_TOOL_CALL hook consumers can branch on the typed enum instead of grepping engine-authored prose. (E10, 2.0.6-rc19)

Version
2.0.6-rc19

Definition at line 40 of file tool_executor.h.

Member Data Documentation

◆ kind

ToolResultKind entropic::PreconditionCheck::kind = ToolResultKind::ok

Category on rejection.

Definition at line 42 of file tool_executor.h.

◆ rejection

std::optional<Message> entropic::PreconditionCheck::rejection

Rejection message (nullopt if cleared)

Definition at line 41 of file tool_executor.h.


The documentation for this struct was generated from the following file: