|
Entropic 2.3.8
Local-first agentic inference engine
|
Tool for targeted engine state queries. More...


Public Member Functions | |
| InspectTool (ToolDefinition def) | |
| Construct from tool definition. | |
| ServerResponse | execute (const std::string &args_json) override |
| Execute targeted inspection. | |
| MCPAccessLevel | required_access_level () const override |
| Read-only tool requires only READ access. | |
| void | set_provider (const entropic_state_provider_t *p) |
| Set state provider pointer. | |
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 ToolDefinition & | definition () 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. | |
Tool for targeted engine state queries.
Definition at line 760 of file entropic_server.cpp.
|
inlineexplicit |
Construct from tool definition.
| def | Tool definition loaded from entropic/inspect.json. |
Definition at line 768 of file entropic_server.cpp.
|
overridevirtual |
Execute targeted inspection.
Execute targeted inspection query.
| args_json | JSON with "target" and optional "key". |
| args_json | JSON with "target" and optional "key". |
Execute targeted inspection query.
When called with no target (or empty target), returns the full runtime state dump so the model can self-orient without knowing which specific target to query.
gh#33 bug 3 (v2.1.6): guard non-throwing parse against discarded / non-object results so a malformed or no-arg call falls through to the full-state dump rather than crashing the engine with nlohmann::json::type_error.306.
| args_json | JSON with optional "target" and "key". |
Implements entropic::ToolBase.
Definition at line 1072 of file entropic_server.cpp.
|
inlineoverridevirtual |
Read-only tool requires only READ access.
Reimplemented from entropic::ToolBase.
Definition at line 786 of file entropic_server.cpp.
|
inline |
Set state provider pointer.
| p | Provider pointer. @utility |
Definition at line 795 of file entropic_server.cpp.