MCPcopy Create free account
hub / github.com/Qinbf/groundmap / getTool

Function getTool

tools/debug-console/lib/kb-tools.ts:200–202  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

198const KB_TOOLS_BY_NAME = new Map(KB_TOOLS.map((t) => [t.name, t]));
199
200export function getTool(name: string): KbTool | undefined {
201 return KB_TOOLS_BY_NAME.get(name);
202}
203
204export function listToolNames(): string[] {
205 return KB_TOOLS.map((t) => t.name);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected