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

Method stream_execute_tool

src/mcp_cli/tools/manager.py:885–894  ·  view source on GitHub ↗

Stream tool execution results (for tools that support streaming).

(
        self,
        tool_name: str,
        arguments: dict[str, Any],
        namespace: str | None = None,
        timeout: float | None = None,
    )

Source from the content-addressed store, hash-verified

883 return {}
884
885 async def stream_execute_tool(
886 self,
887 tool_name: str,
888 arguments: dict[str, Any],
889 namespace: str | None = None,
890 timeout: float | None = None,
891 ):
892 """Stream tool execution results (for tools that support streaming)."""
893 result = await self.execute_tool(tool_name, arguments, namespace, timeout)
894 yield result
895
896 async def execute_tools_parallel(
897 self,

Callers 1

Calls 1

execute_toolMethod · 0.95

Tested by 1