MCPcopy Create free account
hub / github.com/Railly/agentfiles / getToolCounts

Method getToolCounts

src/store.ts:225–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223 }
224
225 getToolCounts(): Map<string, number> {
226 const counts = new Map<string, number>();
227 for (const item of this.items.values()) {
228 for (const tool of item.tools) {
229 counts.set(tool, (counts.get(tool) || 0) + 1);
230 }
231 }
232 return counts;
233 }
234
235 getTypeCounts(): Map<string, number> {
236 const counts = new Map<string, number>();

Callers 1

renderToolSectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected