ws_send
Send text or JSON messages over an existing WebSocket connection using a connection ID from ws_connect, enabling real-time API testing and automation.
Instructions
Send a text or JSON frame down a WebSocket connection.
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": {
"connectionId": "<connectionId>",
"message": "<message>"
},
"name": "ws_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Message payload | |
| connectionId | Yes | ID returned by ws_connect |