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

Method getDescription

packages/core/src/tools/read-file.ts:62–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 }
61
62 getDescription(): string {
63 const relativePath = makeRelative(
64 this.params.absolute_path,
65 this.config.getTargetDir(),
66 );
67 return shortenPath(relativePath);
68 }
69
70 override toolLocations(): ToolLocation[] {
71 return [{ path: this.params.absolute_path, line: this.params.offset }];

Callers

nothing calls this directly

Calls 3

makeRelativeFunction · 0.85
shortenPathFunction · 0.85
getTargetDirMethod · 0.80

Tested by

no test coverage detected