List open WebSockets
ws-listList WebSocket connections parked in the getgenv registry by ws-connect, reporting id, URL, open status, and message count so you can see which sockets are live.
Instructions
List every WebSocket currently parked in the getgenv registry by ws-connect. For each entry it reports { id, url, open, messageCount } so you can see which sockets are still live and how many inbound frames are buffered. Read-only. Requires getgenv — guarded; when no registry exists it simply returns an empty list. Returns { count, sockets } or { error }. Signature: { threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client. Capabilities: WebSocket. Produces: bounded-candidates. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
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": "ws-list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |