inspect_websocket
Inspect WebSocket messages for a connection using its @wsN ID from list_websocket_activity. Filter by direction, search by pattern, and sort by newest or oldest.
Instructions
Inspect actual WebSocket messages for a connection. Provide @wsN ID from list_websocket_activity. Supports direction filter, pattern search, and sort_by (newest/oldest).
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": {
"id": "<id>"
},
"name": "inspect_websocket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | @wsN ID from list_websocket_activity | |
| limit | No | ||
| pattern | No | Substring match on message data | |
| sort_by | No | newest | |
| direction | No | all |