ruyi_get_websocket_messages
Retrieve WebSocket messages captured by the proxy, including per-connection URLs, sent/received payloads, and timestamps. Use clear=true to reset the buffer after reading.
Instructions
获取已注入 Proxy 后收集的 WebSocket 消息。返回每连接的 url、sent、received 消息列表及时间戳。设置 clear=true 可在读取后清空缓冲区。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ruyi_get_websocket_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | 读取后清空缓冲区,默认 false | |
| pageIdx | No |