ruyi_websocket_inject
Inject a WebSocket proxy to capture send/receive messages from new WebSocket connections, recording them to window.__ruyi_ws_messages. Only captures connections created after injection.
Instructions
注入 WebSocket Proxy 以捕获后续 WebSocket 连接的消息。注入后,新创建的 WebSocket 连接的 send/receive 消息会记录到 window.__ruyi_ws_messages。⚠ 只能捕获注入后创建的 WebSocket 连接。binary 帧以 "[binary]" 标记。
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_websocket_inject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | No |