|
Entropic 2.3.8
Local-first agentic inference engine
|
Tool for in-place file editing (string replace or insert). More...


Public Member Functions | |
| EditFileTool (FilesystemServer &server, const std::string &data_dir) | |
| Construct from server reference and data directory. | |
| ServerResponse | execute (const std::string &args_json) override |
| Edit a file via string replacement or line insertion. | |
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. | |
| 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. | |
Tool for in-place file editing (string replace or insert).
Definition at line 959 of file filesystem.cpp.
|
inline |
Construct from server reference and data directory.
| server | Owning filesystem server. |
| data_dir | Path to bundled data directory. |
Definition at line 968 of file filesystem.cpp.
|
overridevirtual |
Edit a file via string replacement or line insertion.
Execute edit_file: read, apply edit, write back.
| args_json | JSON with edit parameters. |
| args_json | JSON arguments. |
Implements entropic::ToolBase.
Definition at line 995 of file filesystem.cpp.