text_communication_protocol
File: plugins/communication_protocols/text/src/utcp_text/text_communication_protocol.py
class TextCommunicationProtocol (CommunicationProtocol)
Documentation
Communication protocol for text-based UTCP manuals and tools.
Methods:
async register_manual(self, caller: 'UtcpClient', manual_call_template: CallTemplate) -> RegisterManualResult
Register a text manual and return its tools as a UtcpManual.
async deregister_manual(self, caller: 'UtcpClient', manual_call_template: CallTemplate) -> None
Deregister a text manual (no-op).
async call_tool(self, caller: 'UtcpClient', tool_name: str, tool_args: Dict[str, Any], tool_call_template: CallTemplate) -> Any
Execute a tool call. Text protocol returns the content directly.
async call_tool_streaming(self, caller: 'UtcpClient', tool_name: str, tool_args: Dict[str, Any], tool_call_template: CallTemplate) -> AsyncGenerator[Any, None]
Streaming variant: yields the full content as a single chunk.