MCPcopy
hub / github.com/colbymchenry/codegraph / text

Function text

__tests__/same-name-disambiguation.test.ts:26–29  ·  view source on GitHub ↗
(tool: string, args: Record<string, unknown>)

Source from the content-addressed store, hash-verified

24let handler: ToolHandler;
25
26const text = async (tool: string, args: Record<string, unknown>): Promise<string> => {
27 const res = await handler.execute(tool, args);
28 return res.content?.[0]?.text ?? '';
29};
30
31beforeAll(async () => {
32 await initGrammars();

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected