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

Stub tool for LSP diagnostics retrieval. More...

Inheritance diagram for entropic::DiagnosticsTool:
Collaboration diagram for entropic::DiagnosticsTool:

Public Member Functions

 DiagnosticsTool (ToolDefinition def)
 Construct with definition.
 
MCPAccessLevel required_access_level () const override
 Read-only tool — requires READ access.
 
ServerResponse execute (const std::string &args_json) override
 Return placeholder — LSP not yet connected.
 
- 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

Stub tool for LSP diagnostics retrieval.

Returns a placeholder until the LSP client lands in v1.8.7.

Definition at line 36 of file diagnostics.cpp.

Constructor & Destructor Documentation

◆ DiagnosticsTool()

entropic::DiagnosticsTool::DiagnosticsTool ( ToolDefinition  def)
inlineexplicit

Construct with definition.

Parameters
defTool definition loaded from JSON.

Definition at line 44 of file diagnostics.cpp.

Member Function Documentation

◆ execute()

ServerResponse entropic::DiagnosticsTool::execute ( const std::string &  args_json)
inlineoverridevirtual

Return placeholder — LSP not yet connected.

Parameters
args_jsonUnused.
Returns
ServerResponse with stub message.

Implements entropic::ToolBase.

Definition at line 64 of file diagnostics.cpp.

◆ required_access_level()

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

Read-only tool — requires READ access.

Returns
MCPAccessLevel::READ. @utility
Version
1.9.4

Reimplemented from entropic::ToolBase.

Definition at line 53 of file diagnostics.cpp.


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