|
Entropic 2.3.8
Local-first agentic inference engine
|
Tool: git diff [–staged] [file]. More...


Public Member Functions | |
| GitDiffTool (ToolDefinition def, GitServer &server) | |
| Construct with definition and server ref. | |
| MCPAccessLevel | required_access_level () const override |
| Read-only tool — requires READ access. | |
| ServerResponse | execute (const std::string &args_json) override |
| Run git diff with optional flags. | |
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. | |
|
inline |
|
inlineoverridevirtual |
Run git diff with optional flags.
| args_json | JSON with optional "staged" and "file". |
Implements entropic::ToolBase.
|
inlineoverridevirtual |
Read-only tool — requires READ access.
Reimplemented from entropic::ToolBase.