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

Tool execution interface for the engine. More...

#include <entropic/core/engine_types.h>

Collaboration diagram for entropic::ToolExecutionInterface:

Public Attributes

ToolExecutionFn process_tool_calls = nullptr
 Dispatches tool calls.
 
void * user_data = nullptr
 Opaque pointer (ToolExecutor*)
 
char *(* history_json )(size_t count, void *user_data) = nullptr
 Optional: return a compact JSON summary of recent tool calls (for validator retry enrichment / diagnostics).
 
void(* free_fn )(char *) = nullptr
 Free function for strings returned by history_json.
 

Detailed Description

Tool execution interface for the engine.

Injected by the facade. Allows core.so to process tool calls without depending on mcp.so.

Version
1.8.5

Definition at line 352 of file engine_types.h.

Member Data Documentation

◆ free_fn

void(* entropic::ToolExecutionInterface::free_fn) (char *) = nullptr

Free function for strings returned by history_json.

Definition at line 367 of file engine_types.h.

◆ history_json

char *(* entropic::ToolExecutionInterface::history_json) (size_t count, void *user_data) = nullptr

Optional: return a compact JSON summary of recent tool calls (for validator retry enrichment / diagnostics).

Caller owns the returned C string (free via ToolExecutionFree). Nullptr means the executor has no history surface. (P1-11, 2.0.6-rc16)

Definition at line 364 of file engine_types.h.

◆ process_tool_calls

ToolExecutionFn entropic::ToolExecutionInterface::process_tool_calls = nullptr

Dispatches tool calls.

Definition at line 353 of file engine_types.h.

◆ user_data

void* entropic::ToolExecutionInterface::user_data = nullptr

Opaque pointer (ToolExecutor*)

Definition at line 354 of file engine_types.h.


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