ws_read
Read buffered WebSocket messages from a connection and optionally wait for a regex pattern to arrive, enabling verification of real-time events during API tests.
Instructions
Read the latest buffered messages. Can wait for specific regex pattern to arrive.
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>"
},
"name": "ws_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| timeout | No | ||
| connectionId | Yes | ||
| waitForPattern | No | Wait for specific message to be logged |