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

Function explore

__tests__/explore-one-symbol.test.ts:38–42  ·  view source on GitHub ↗
(p: Project, query: string)

Source from the content-addressed store, hash-verified

36}
37
38async function explore(p: Project, query: string): Promise<string> {
39 const result = await new ToolHandler(p.cg).execute('codegraph_explore', { query });
40 expect(result.isError ?? false).toBe(false);
41 return result.content?.[0]?.text ?? '';
42}
43
44describe('which queries name one symbol', () => {
45 it.each([

Callers 1

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected