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

Method __init__

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

Source from the content-addressed store, hash-verified

60 """Minimal PlanningContext stub for tool tests."""
61
62 def __init__(self, tool_names: list[str] | None = None):
63 self.tool_manager = FakeToolManager(tool_names)
64 self._saved_plans: dict[str, dict] = {}
65
66 async def get_tool_catalog(self) -> list[dict[str, Any]]:
67 tools, _ = await self.tool_manager.get_adapted_tools_for_llm("openai")

Callers

nothing calls this directly

Calls 1

FakeToolManagerClass · 0.70

Tested by

no test coverage detected