Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelscope/ms-agent
/ register_tool
Method
register_tool
ms_agent/tools/tool_manager.py:138–139 ·
view source on GitHub ↗
(self, tool: ToolBase)
Source
from the content-addressed store, hash-verified
136
self._init_lock = None
137
138
def
register_tool(self, tool: ToolBase):
139
self.extra_tools.append(tool)
140
141
async
def
connect(self):
142
if
self.mcp_client and isinstance(self.mcp_client, MCPClient):
Callers
1
__init__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected