File

src/ui/chatbot/types/websocket-message.interface.ts

Description

WebSocket message types from MCP host

Index

Properties

Properties

arguments
arguments: any
Type : any
Optional
channel
channel: "websocket" | "http"
Type : "websocket" | "http"
Optional
content
content: string
Type : string
Optional
error
error: string
Type : string
Optional
error_details
error_details: LLMErrorDetails | WebSocketErrorDetails
Type : LLMErrorDetails | WebSocketErrorDetails
Optional
isComplete
isComplete: boolean
Type : boolean
Optional
isStreaming
isStreaming: boolean
Type : boolean
Optional
messageId
messageId: string
Type : string
Optional
responseId
responseId: string
Type : string
Optional
result
result: any
Type : any
Optional
role
role: "assistant" | "user" | "system"
Type : "assistant" | "user" | "system"
Optional
server
server: string
Type : string
Optional
timestamp
timestamp: string
Type : string
Optional
tool
tool: string
Type : string
Optional
tool_call_info
tool_call_info: literal type
Type : literal type
Optional
toolAssisted
toolAssisted: boolean
Type : boolean
Optional
type
type: "response" | "message" | "assistant_response" | "assistant_stream" | "tool_call" | "tool_result" | "tool_error" | "llm_error" | "websocket_error" | "streaming_start" | "streaming_chunk" | "streaming_end" | "system" | "response_start" | "response_end" | "agent_action" | string
Type : "response" | "message" | "assistant_response" | "assistant_stream" | "tool_call" | "tool_result" | "tool_error" | "llm_error" | "websocket_error" | "streaming_start" | "streaming_chunk" | "streaming_end" | "system" | "response_start" | "response_end" | "agent_action" | string
userMessage
userMessage: string
Type : string
Optional

results matching ""

    No results matching ""