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

Tool for switching inference phase. More...

Inheritance diagram for entropic::PhaseChangeTool:
Collaboration diagram for entropic::PhaseChangeTool:

Public Member Functions

 PhaseChangeTool ()
 Construct with inline tool definition.
 
ServerResponse execute (const std::string &args_json) override
 Execute phase change.
 
- Public Member Functions inherited from entropic::ToolBase
 ToolBase (ToolDefinition def)
 Construct with a pre-built definition.
 
const std::string & name () const
 Get the tool name.
 
const ToolDefinitiondefinition () const
 Get the full tool definition.
 
virtual std::string anchor_key (const std::string &args_json) const
 Generate anchor key for this tool result.
 
virtual MCPAccessLevel required_access_level () const
 Minimum access level required to execute this tool.
 

Additional Inherited Members

- Protected Attributes inherited from entropic::ToolBase
ToolDefinition definition_
 Tool definition.
 

Detailed Description

Tool for switching inference phase.

Definition at line 460 of file entropic_server.cpp.

Constructor & Destructor Documentation

◆ PhaseChangeTool()

entropic::PhaseChangeTool::PhaseChangeTool ( )

Construct with inline tool definition.

Build inline definition for phase_change tool.

Definition at line 484 of file entropic_server.cpp.

Member Function Documentation

◆ execute()

ServerResponse entropic::PhaseChangeTool::execute ( const std::string &  args_json)
overridevirtual

Execute phase change.

Parse phase and emit directive.

Parameters
args_jsonJSON with "phase".
Returns
ServerResponse with phase_change directive.

Implements entropic::ToolBase.

Definition at line 496 of file entropic_server.cpp.


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