set_ws_passthrough
Opt a tunnel into WebSocket passthrough, so an application-level WebSocket connection (e.g. a mobile/web app's own realtime feature) can be relayed to your localhost. Pro/Team plan required to enable; pass enabled: false to disable on any plan.
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": {
"subdomain": "<subdomain>",
"enabled": "<enabled>"
},
"name": "set_ws_passthrough"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true to relay WebSocket connections to localhost (Pro/Team), false to turn it off. | |
| subdomain | Yes | Tunnel subdomain, from list_tunnels, e.g. myapp for https://myapp.t.pipehero.app. |