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

Method execute_tool

src/mcp_cli/chat/chat_context.py:646–648  ·  view source on GitHub ↗

Execute a tool.

(self, tool_name: str, arguments: dict[str, Any])

Source from the content-addressed store, hash-verified

644
645 # ── Tool execution (delegate to ToolManager) ──────────────────────────
646 async def execute_tool(self, tool_name: str, arguments: dict[str, Any]) -> Any:
647 """Execute a tool."""
648 return await self.tool_manager.execute_tool(tool_name, arguments)
649
650 async def stream_execute_tool(
651 self, tool_name: str, arguments: dict[str, Any]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected