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

Method constructor

packages/core/src/tools/write-file.ts:136–141  ·  view source on GitHub ↗
(
    private readonly config: Config,
    params: WriteFileToolParams,
  )

Source from the content-addressed store, hash-verified

134 ToolResult
135> {
136 constructor(
137 private readonly config: Config,
138 params: WriteFileToolParams,
139 ) {
140 super(params);
141 }
142
143 override toolLocations(): ToolLocation[] {
144 return [{ path: this.params.file_path }];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected