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

Function _dashboard_execute_tool

src/mcp_cli/chat/chat_handler.py:171–181  ·  view source on GitHub ↗
(
                    tool_name: str, arguments: dict
                )

Source from the content-addressed store, hash-verified

169 _bridge_ref = ctx.dashboard_bridge
170
171 async def _dashboard_execute_tool(
172 tool_name: str, arguments: dict
173 ) -> None:
174 result = await tool_manager.execute_tool(tool_name, arguments)
175 await _bridge_ref.on_tool_result(
176 tool_name=tool_name,
177 server_name="",
178 result=result.result,
179 success=result.success,
180 error=result.error,
181 )
182
183 ctx.dashboard_bridge.set_tool_call_callback(_dashboard_execute_tool)
184

Callers

nothing calls this directly

Calls 2

on_tool_resultMethod · 0.80
execute_toolMethod · 0.45

Tested by

no test coverage detected