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

Class FakeResult

examples/apps/apps_demo.py:240–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238
239 # Simulate tool execution
240 class FakeResult:
241 def __init__(self, result: Any) -> None:
242 self.success = True
243 self.result = result
244 self.error = None
245
246 async def mock_execute(
247 tool_name: str, arguments: dict[str, Any], namespace: str = ""

Callers 1

mock_executeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected