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

Method execute_tool

tests/chat/test_chat_context.py:95–96  ·  view source on GitHub ↗
(self, tool_name: str, arguments: Dict[str, Any])

Source from the content-addressed store, hash-verified

93
94 # ----- execution stubs -------------------------------------------
95 async def execute_tool(self, tool_name: str, arguments: Dict[str, Any]):
96 return {"success": True, "result": {"echo": arguments}}
97
98 async def stream_execute_tool(self, tool_name: str, arguments: Dict[str, Any]):
99 yield {"success": True, "result": {"echo": arguments}}

Callers 1

test_execute_toolFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected