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

Engine-level hooks called during tool processing. More...

#include <entropic/core/engine_types.h>

Collaboration diagram for entropic::ToolExecutorHooks:

Public Attributes

void(* after_tool )(LoopContext &ctx, void *user_data) = nullptr
 Called after each tool execution.
 
DirectiveResult(* process_directives )(LoopContext &ctx, const std::vector< const Directive * > &directives, void *user_data) = nullptr
 Process directives from tool results.
 
void * user_data = nullptr
 Opaque pointer for hooks.
 

Detailed Description

Engine-level hooks called during tool processing.

Bridges ToolExecutor (mcp.so) to DirectiveProcessor (core.so). Defined in engine_types.h because it only uses core types.

Version
2.0.2

Definition at line 378 of file engine_types.h.

Member Data Documentation

◆ after_tool

void(* entropic::ToolExecutorHooks::after_tool) (LoopContext &ctx, void *user_data) = nullptr

Called after each tool execution.

Version
1.8.5

Definition at line 381 of file engine_types.h.

◆ process_directives

DirectiveResult(* entropic::ToolExecutorHooks::process_directives) (LoopContext &ctx, const std::vector< const Directive * > &directives, void *user_data) = nullptr

Process directives from tool results.

Version
1.8.5

Definition at line 385 of file engine_types.h.

◆ user_data

void* entropic::ToolExecutorHooks::user_data = nullptr

Opaque pointer for hooks.

Definition at line 390 of file engine_types.h.


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