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

Function openInAdmin

tools/debug-console/components/ToolCallCard.tsx:47–52  ·  view source on GitHub ↗
(args: Record<string, unknown>)

Source from the content-addressed store, hash-verified

45}
46
47function openInAdmin(args: Record<string, unknown>): string | null {
48 const p = typeof args.path === "string" ? args.path : null;
49 if (!p) return null;
50 const cleanPath = p.replace(/\.md$/, "");
51 return `${kbApiBase()}/page/${cleanPath}`;
52}
53
54function formatValue(v: unknown): string {
55 if (v === null || v === undefined) return "—";

Callers 1

ToolCallCardFunction · 0.85

Calls 1

kbApiBaseFunction · 0.70

Tested by

no test coverage detected