MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / nodeText

Function nodeText

__tests__/node-overload-spread.test.ts:34–38  ·  view source on GitHub ↗
(handler: ToolHandler, args: Record<string, unknown>)

Source from the content-addressed store, hash-verified

32}
33
34async function nodeText(handler: ToolHandler, args: Record<string, unknown>): Promise<string> {
35 const res = await handler.execute('codegraph_node', args);
36 expect(res.isError).toBeFalsy();
37 return res.content?.[0]?.text ?? '';
38}
39
40describe('codegraph_node: definitions past the caps (#1657)', () => {
41 let root: string;

Callers 1

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected