MCPcopy Create free account
hub / github.com/Houseofmvps/codesight / toolRefresh

Function toolRefresh

src/mcp-server.ts:317–322  ·  view source on GitHub ↗
(args: any)

Source from the content-addressed store, hash-verified

315}
316
317async function toolRefresh(args: any): Promise<string> {
318 cachedResult = null;
319 cachedRoot = null;
320 const result = await getScanResult(args.directory);
321 return `Refreshed. ${result.routes.length} routes, ${result.schemas.length} models, ${result.graph.edges.length} import links, ${result.config.envVars.length} env vars.`;
322}
323
324async function toolGetWikiIndex(args: any): Promise<string> {
325 const result = await getScanResult(args.directory);

Callers

nothing calls this directly

Calls 1

getScanResultFunction · 0.85

Tested by

no test coverage detected