Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agentforce314/clawcodex
/ find_tool_by_name
Function
find_tool_by_name
src/tool_system/build_tool.py:216–220 ·
view source on GitHub ↗
(tools: Tools, name: str)
Source
from the content-addressed store, hash-verified
214
215
216
def
find_tool_by_name(tools: Tools, name: str) -> Tool | None:
217
for
t in tools:
218
if
tool_matches_name(t, name):
219
return
t
220
return
None
Callers
7
partition_tool_calls
Function · 0.90
add_tool
Method · 0.90
_get_tool_interrupt_behavior
Method · 0.90
run_tool_use
Function · 0.90
test_find_existing
Method · 0.90
test_find_missing
Method · 0.90
test_mcp_tools_register_into_default_registry
Function · 0.90
Calls
1
tool_matches_name
Function · 0.85
Tested by
3
test_find_existing
Method · 0.72
test_find_missing
Method · 0.72
test_mcp_tools_register_into_default_registry
Function · 0.72