MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / build_tool

Function build_tool

bmtools/tools/registry.py:33–35  ·  view source on GitHub ↗
(tool_name : str, config : Any)

Source from the content-addressed store, hash-verified

31 return decorator
32
33def build_tool(tool_name : str, config : Any) -> Tool:
34 print(f"will build {tool_name}")
35 return tools_registry.build(tool_name, config)
36
37def list_tools() -> List[str]:
38 return tools_registry.list_tools()

Callers 1

load_toolMethod · 0.70

Calls 1

buildMethod · 0.80

Tested by

no test coverage detected