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

Method __init__

tests/chat/test_chat_context.py:672–681  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

670 # Create tool manager that raises in get_adapted_tools_for_llm
671 class FailingToolManager:
672 def __init__(self):
673 self._tools = [
674 ToolInfo(
675 name="tool1",
676 namespace="srv1",
677 description="demo-1",
678 parameters={},
679 is_async=False,
680 ),
681 ]
682
683 async def get_unique_tools(self):
684 return self._tools

Callers

nothing calls this directly

Calls 1

ToolInfoClass · 0.90

Tested by

no test coverage detected