src/ui/chatbot/types/websocket-message.interface.ts
WebSocket message types from MCP host
Properties |
|
| arguments |
arguments:
|
Type : any
|
| Optional |
| channel |
channel:
|
Type : "websocket" | "http"
|
| Optional |
| content |
content:
|
Type : string
|
| Optional |
| error |
error:
|
Type : string
|
| Optional |
| error_details |
error_details:
|
Type : LLMErrorDetails | WebSocketErrorDetails
|
| Optional |
| isComplete |
isComplete:
|
Type : boolean
|
| Optional |
| isStreaming |
isStreaming:
|
Type : boolean
|
| Optional |
| messageId |
messageId:
|
Type : string
|
| Optional |
| responseId |
responseId:
|
Type : string
|
| Optional |
| result |
result:
|
Type : any
|
| Optional |
| role |
role:
|
Type : "assistant" | "user" | "system"
|
| Optional |
| server |
server:
|
Type : string
|
| Optional |
| timestamp |
timestamp:
|
Type : string
|
| Optional |
| tool |
tool:
|
Type : string
|
| Optional |
| tool_call_info |
tool_call_info:
|
Type : literal type
|
| Optional |
| toolAssisted |
toolAssisted:
|
Type : boolean
|
| Optional |
| userMessage |
userMessage:
|
Type : string
|
| Optional |