ws_subscribe_prices
Subscribe to real-time Polymarket asset price updates over WebSocket and collect changes for a set duration to monitor live market movement.
Instructions
Subscribe to real-time price updates for Polymarket assets via WebSocket. Collects price changes for specified duration.
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": {
"assetIds": "<assetIds>"
},
"name": "ws_subscribe_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetIds | Yes | Array of token/asset IDs to subscribe to (required). Get these from market clobTokenIds field. | |
| durationSeconds | No | How long to collect price updates in seconds (default: 5, max: 30) |