MCPcopy Create free account
hub / github.com/anus-dev/ANUS / constructor

Method constructor

packages/core/src/tools/edit.ts:98–101  ·  view source on GitHub ↗
(
    private readonly config: Config,
    public params: EditToolParams,
  )

Source from the content-addressed store, hash-verified

96
97class EditToolInvocation implements ToolInvocation<EditToolParams, ToolResult> {
98 constructor(
99 private readonly config: Config,
100 public params: EditToolParams,
101 ) {}
102
103 toolLocations(): ToolLocation[] {
104 return [{ path: this.params.file_path }];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected