Unsubscribe from live stream
ws_unsubscribeStop receiving updates for specific symbols on a WebSocket channel while maintaining other subscriptions. Returns connection status.
Instructions
Stop receiving the given symbols on a channel; the WebSocket stays open for any remaining subscriptions. Returns current connection status. Pair with ws_subscribe; to close the connection entirely use ws_disconnect.
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": {
"product": "<product>",
"symbols": "<symbols>"
},
"name": "ws_unsubscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | Channel: cex (crypto), dex (DEX trades), fx (forex), us (US stocks), tvl (DEX pool TVL). | |
| symbols | Yes | Symbols to (un)subscribe, e.g. ['BTCUSD','ETHUSD']. |