|
Entropic 2.3.8
Local-first agentic inference engine
|
Tool for listing directory contents. More...


Public Member Functions | |
| ListDirectoryTool (FilesystemServer &server, const std::string &data_dir) | |
| Construct from server reference and data directory. | |
| MCPAccessLevel | required_access_level () const override |
| Read-only tool — requires READ access. | |
| ServerResponse | execute (const std::string &args_json) override |
| List directory entries with optional recursion. | |
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 listing directory contents.
Definition at line 1225 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 1234 of file filesystem.cpp.
|
overridevirtual |
List directory entries with optional recursion.
Execute list_directory: list entries in a directory.
| args_json | JSON with "path" and optional depth params. |
| args_json | JSON arguments. |
Implements entropic::ToolBase.
Definition at line 1271 of file filesystem.cpp.
|
inlineoverridevirtual |
Read-only tool — requires READ access.
Reimplemented from entropic::ToolBase.
Definition at line 1247 of file filesystem.cpp.