MCPcopy Create free account
hub / github.com/Noumena-Network/code / getDeferredToolsCacheKey

Function getDeferredToolsCacheKey

src/tools/ToolSearchTool/ToolSearchTool.ts:55–60  ·  view source on GitHub ↗

* Get a cache key representing the current set of deferred tools.

(deferredTools: Tools)

Source from the content-addressed store, hash-verified

53 * Get a cache key representing the current set of deferred tools.
54 */
55function getDeferredToolsCacheKey(deferredTools: Tools): string {
56 return deferredTools
57 .map(t => t.name)
58 .sort()
59 .join(',')
60}
61
62/**
63 * Get tool description, memoized by tool name.

Callers 1

maybeInvalidateCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected