|
Entropic 2.3.8
Local-first agentic inference engine
|
Tool for regex content search across files. More...


Public Member Functions | |
| GrepTool (FilesystemServer &server, const std::string &data_dir) | |
| Construct from data directory. | |
| MCPAccessLevel | required_access_level () const override |
| Read-only tool — requires READ access. | |
| ServerResponse | execute (const std::string &args_json) override |
| Search files for regex pattern matches. | |
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 regex content search across files.
Definition at line 1095 of file filesystem.cpp.
|
inline |
Construct from data directory.
| data_dir | Path to bundled data directory. |
Definition at line 1103 of file filesystem.cpp.
|
overridevirtual |
Search files for regex pattern matches.
Execute grep: compile regex, walk the tree, collect matches.
| args_json | JSON with "pattern" and optional "glob" keys. |
Implements entropic::ToolBase.
Definition at line 1199 of file filesystem.cpp.
|
inlineoverridevirtual |
Read-only tool — requires READ access.
Reimplemented from entropic::ToolBase.
Definition at line 1115 of file filesystem.cpp.