MCPcopy
hub / github.com/HKUDS/DeepCode / get

Method get

nanobot/nanobot/agent/tools/registry.py:26–28  ·  view source on GitHub ↗

Get a tool by name.

(self, name: str)

Source from the content-addressed store, hash-verified

24 self._tools.pop(name, None)
25
26 def get(self, name: str) -> Tool | None:
27 """Get a tool by name."""
28 return self._tools.get(name)
29
30 def has(self, name: str) -> bool:
31 """Check if a tool is registered."""

Callers 15

setup.pyFile · 0.80
bocha_web_searchFunction · 0.80
bocha_ai_searchFunction · 0.80
extract_code_referencesFunction · 0.80
extract_relationshipsFunction · 0.80
get_indexes_overviewFunction · 0.80
handle_call_toolFunction · 0.80
__init__Method · 0.80
_setup_loggerMethod · 0.80
pre_filter_filesMethod · 0.80
analyze_file_contentMethod · 0.80

Calls

no outgoing calls