|
Entropic 2.14.3
Local-first agentic inference engine
|
Tool for recursive file pattern matching. More...


Public Member Functions | |
| GlobTool (FilesystemServer &server, const std::string &data_dir) | |
| Construct with 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 |
| Find files matching a glob pattern. | |
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 recursive file pattern matching.
@dg_internal
Definition at line 1634 of file filesystem.cpp.
|
inline |
Construct with server reference and data directory.
| server | Owning FilesystemServer (for root_dir). |
| data_dir | Path to bundled data directory. @dg_internal |
Definition at line 1643 of file filesystem.cpp.
|
overridevirtual |
Find files matching a glob pattern.
Execute glob: one page of root-relative paths matching a pattern.
| args_json | JSON with "pattern" key. |
Issues #13/#15 (v2.1.4): brace expansion, ignore filtering. v2.14.0 (gh#203): declared {paths, truncated, reason?, next_offset?} instead of an array whose last element might be a sentinel object.
| args_json | JSON with "pattern" and optional "limit"/"offset". |
invalid_args. @req REQ-MCP-022 Implements entropic::ToolBase.
Definition at line 1685 of file filesystem.cpp.
|
inlineoverridevirtual |
Read-only tool — requires READ access.
Reimplemented from entropic::ToolBase.
Definition at line 1656 of file filesystem.cpp.