MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / Get

Method Get

tools/registry.go:42–50  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

40}
41
42func (r *ToolRegistry) Get(name string) Tool {
43 if tool, ok := r.tools[name]; ok {
44 return tool
45 }
46 if canonical, ok := r.aliases[name]; ok {
47 return r.tools[canonical]
48 }
49 return nil
50}
51
52func (r *ToolRegistry) ResolveName(name string) (string, string) {
53 if _, ok := r.tools[name]; ok {

Calls

no outgoing calls