MCPcopy Create free account
hub / github.com/IBM/mcp-cli / list_tools

Method list_tools

tests/tools/test_tool_manager.py:37–39  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 # Async API expected by ToolManager
36 # ------------------------------------------------------------------ #
37 async def list_tools(self):
38 # Return ToolInfo objects instead of tuples
39 return [RegistryToolInfo(namespace=ns, name=name) for ns, name in self._items]
40
41 async def get_metadata(self, name, ns):
42 return self._meta.get((ns, name))

Callers 8

get_all_toolsMethod · 0.80
executeMethod · 0.80
handle_chat_modeFunction · 0.80
test_list_toolsFunction · 0.80
round_tripFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected