MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / tool

Method tool

claw-code/src/execution_registry.py:39–44  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

37 return None
38
39 def tool(self, name: str) -> MirroredTool | None:
40 lowered = name.lower()
41 for tool in self.tools:
42 if tool.name.lower() == lowered:
43 return tool
44 return None
45
46
47def build_execution_registry() -> ExecutionRegistry:

Callers 2

bootstrap_sessionMethod · 0.80

Calls

no outgoing calls

Tested by 1