markets.watch_price
Subscribe to a market token ID to stream live price updates, unsubscribe to stop, or check WebSocket connection status.
Instructions
Manage live WebSocket price subscriptions for real-time market updates. Subscribe to a token_id to start streaming price changes, unsubscribe to stop, or check connection status.
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": "markets.watch_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | subscribe=start streaming, unsubscribe=stop streaming, status=show connection info | status |
| token_id | No | Market token ID to subscribe/unsubscribe. Required for subscribe/unsubscribe, omit for status |