Entropic 2.11.1
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.

@dg_internal

Version
2.1.6

Definition at line 1314 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). @dg_internal
Version
2.1.6

Definition at line 1322 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. @dg_internal
Version
2.1.6
Parameters
args_jsonJSON {delegation_id, task, max_turns?}.
Returns
On valid arguments, a ServerResponse with delegate + stop_processing directives. On non-object args, or a missing delegation_id or task, a typed error with NO directives — validation precedes any directive emission. @req REQ-MCP-024
Version
2.1.6

Implements entropic::ToolBase.

Definition at line 1345 of file entropic_server.cpp.


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