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

Method __init__

tests/planning/test_tools.py:32–33  ·  view source on GitHub ↗
(self, tool_names: list[str] | None = None)

Source from the content-addressed store, hash-verified

30 """Minimal ToolManager stub."""
31
32 def __init__(self, tool_names: list[str] | None = None):
33 self._tool_names = tool_names or ["read_file", "write_file"]
34
35 async def get_all_tools(self) -> list[FakeToolInfo]:
36 return [FakeToolInfo(name=n) for n in self._tool_names]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected