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

Resume a prior delegation with its conversation seeded. More...

Inheritance diagram for entropic::ResumeDelegationTool:
Collaboration diagram for entropic::ResumeDelegationTool:

Public Member Functions

 ResumeDelegationTool (ToolDefinition def)
 Construct from loaded tool definition.
 
ServerResponse execute (const std::string &args_json) override
 Emit a resume-flavored delegate directive.
 
- 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

Resume a prior delegation with its conversation seeded.

Backs entropic.resume_delegation. Emits a delegate directive with resume_from_delegation_id set; the engine's delegation handler loads the prior child conversation from storage and builds the child context with that history before running the new task.

Definition at line 1236 of file entropic_server.cpp.

Constructor & Destructor Documentation

◆ ResumeDelegationTool()

entropic::ResumeDelegationTool::ResumeDelegationTool ( ToolDefinition  def)
inlineexplicit

Construct from loaded tool definition.

Parameters
defTool definition (entropic/resume_delegation.json).

Definition at line 1244 of file entropic_server.cpp.

Member Function Documentation

◆ execute()

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

Emit a resume-flavored delegate directive.

Parse resume args and emit a resume-flavored DelegateDirective.

Parameters
args_jsonJSON {delegation_id, task, max_turns?}.
Returns
ServerResponse with delegate + stop directives.
Parameters
args_jsonJSON {delegation_id, task, max_turns?}.
Returns
ServerResponse with directives.

Implements entropic::ToolBase.

Definition at line 1264 of file entropic_server.cpp.


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