streamable_http_communication_protocol
File: plugins/communication_protocols/http/src/utcp_http/streamable_http_communication_protocol.py
class StreamableHttpCommunicationProtocol (CommunicationProtocol)
Documentation
Streamable HTTP communication protocol implementation for UTCP client.
Handles HTTP streaming with chunked transfer encoding for real-time data.
Methods:
async register_manual(self, caller, manual_call_template: CallTemplate) -> RegisterManualResult
Register a manual and its tools from a StreamableHttp provider.
async deregister_manual(self, caller, manual_call_template: CallTemplate) -> None
Deregister a StreamableHttp manual. This is a no-op for the stateless streamable HTTP protocol.
async call_tool(self, caller, tool_name: str, tool_args: Dict[str, Any], tool_call_template: CallTemplate) -> Any
Execute a tool call through StreamableHttp transport.
async call_tool_streaming(self, caller, tool_name: str, tool_args: Dict[str, Any], tool_call_template: CallTemplate) -> AsyncGenerator[Any, None]
Execute a tool call through StreamableHttp transport with streaming.