MCPcopy Create free account
hub / github.com/codemix/graph / register

Method register

packages/graph/src/FunctionRegistry.ts:98–101  ·  view source on GitHub ↗

* Register a function definition.

(def: FunctionDefinition)

Source from the content-addressed store, hash-verified

96 * Register a function definition.
97 */
98 public register(def: FunctionDefinition): void {
99 // Store with lowercase name for case-insensitive lookup
100 this.#functions.set(def.name.toLowerCase(), def);
101 }
102
103 /**
104 * Look up a function by name (case-insensitive).

Calls

no outgoing calls

Tested by

no test coverage detected