MCPcopy Create free account
hub / github.com/Louisym/MiniCC / build_default_registry

Function build_default_registry

mini_claude_code/main.py:237–243  ·  view source on GitHub ↗

注册所有默认工具。

()

Source from the content-addressed store, hash-verified

235# ============================================================
236
237def build_default_registry() -> ToolRegistry:
238 """注册所有默认工具。"""
239 registry = ToolRegistry()
240 registry.register("bash", bash_tool)
241 registry.register("read_file", read_tool)
242 registry.register("write_file", write_tool)
243 return registry
244
245
246# ============================================================

Callers 2

run_replFunction · 0.85
mainFunction · 0.85

Calls 2

registerMethod · 0.95
ToolRegistryClass · 0.90

Tested by

no test coverage detected