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

Method __init__

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

Source from the content-addressed store, hash-verified

25 """Minimal ToolManager stub for PlanningContext tests."""
26
27 def __init__(self, tool_names: list[str] | None = None):
28 self._tool_names = tool_names or ["read_file", "write_file", "search_code"]
29
30 async def get_all_tools(self) -> list[FakeToolInfo]:
31 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