ws_connect
Opens a persistent WebSocket connection using headers and cookies from the active environment, returning a connectionId you can reuse for sending and receiving messages.
Instructions
Open a persistent WebSocket connection, backed by headers and cookies from active environment. Returns connectionId.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "ws_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ws:// or wss:// URL (can be path if base URL matches) | |
| headers | No | ||
| timeout | No |