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

Recall prior delegation results via storage-backed search. More...

Inheritance diagram for entropic::FollowupTool:
Collaboration diagram for entropic::FollowupTool:

Public Member Functions

 FollowupTool (ToolDefinition def)
 Construct from loaded tool definition.
 
ServerResponse execute (const std::string &args_json) override
 Execute a followup query.
 
MCPAccessLevel required_access_level () const override
 Read-only — requires only READ access.
 
void set_provider (const entropic_state_provider_t *p)
 Store provider pointer (non-owning).
 
- 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.
 

Additional Inherited Members

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

Detailed Description

Recall prior delegation results via storage-backed search.

Backs entropic.followup. Read-only; no directives. Uses the state provider's search_delegations callback to surface candidate matches and returns the JSON verbatim to the model.

Definition at line 1141 of file entropic_server.cpp.

Constructor & Destructor Documentation

◆ FollowupTool()

entropic::FollowupTool::FollowupTool ( ToolDefinition  def)
inlineexplicit

Construct from loaded tool definition.

Parameters
defTool definition (entropic/followup.json).

Definition at line 1149 of file entropic_server.cpp.

Member Function Documentation

◆ execute()

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

Execute a followup query.

Execute a followup query against prior delegations.

Parameters
args_jsonJSON with required "query" and optional "max_results".
Returns
ServerResponse with results JSON; no directives.
Parameters
args_jsonJSON with "query" and optional "max_results".
Returns
ServerResponse with results or typed error; no directives.

Implements entropic::ToolBase.

Definition at line 1191 of file entropic_server.cpp.

◆ required_access_level()

MCPAccessLevel entropic::FollowupTool::required_access_level ( ) const
inlineoverridevirtual

Read-only — requires only READ access.

Returns
MCPAccessLevel::READ.

Reimplemented from entropic::ToolBase.

Definition at line 1167 of file entropic_server.cpp.

◆ set_provider()

void entropic::FollowupTool::set_provider ( const entropic_state_provider_t p)
inline

Store provider pointer (non-owning).

Parameters
pProvider pointer. @utility
Version
2.1.6

Definition at line 1176 of file entropic_server.cpp.


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