MCPcopy Index your code
hub / github.com/SkyworkAI/DeepResearchAgent / get

Method get

src/tool/server.py:100–110  ·  view source on GitHub ↗

Get tool configuration by name Args: tool_name: Tool name Returns: Tool: Tool instance or None if not found

(self, tool_name: str)

Source from the content-addressed store, hash-verified

98
99
100 async def get(self, tool_name: str) -> Tool:
101 """Get tool configuration by name
102
103 Args:
104 tool_name: Tool name
105
106 Returns:
107 Tool: Tool instance or None if not found
108 """
109 tool = await self.tool_context_manager.get(tool_name)
110 return tool
111
112 async def get_info(self, tool_name: str) -> Optional[ToolConfig]:
113 """Get tool configuration by name

Callers 15

get_sourceFunction · 0.45
get_jsonparsed_dataFunction · 0.45
generate_readmeFunction · 0.45
_extract_actionsMethod · 0.45
_prepare_chart_dataMethod · 0.45
_log_writer_threadMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by 15

test_spot_clientFunction · 0.36
test_futures_clientFunction · 0.36
runFunction · 0.36
get_hyperliquid_candlesFunction · 0.36
test_tool_callingFunction · 0.36
test_leetcode_benchmarkFunction · 0.36
test_screenshotFunction · 0.36
setupMethod · 0.36
mainFunction · 0.36
test_mobile_operationsFunction · 0.36
test_online_hyperliquidFunction · 0.36
test_offline_hyperliquidFunction · 0.36