subscribe_orderbook_updates
Monitor real-time orderbook updates for specified Polymarket tokens to track market depth and price levels.
Instructions
Subscribe to real-time orderbook updates by token_ids (clobTokenIds). Source: list_active_markets/get_market_details. Use get_realtime_status to inspect events. Example: token_ids=[clobTokenIds[0]].
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": {
"token_ids": "<token_ids>"
},
"name": "subscribe_orderbook_updates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_ids | Yes | List of token IDs to monitor orderbooks for | |
| depth | No | Number of price levels to include (default: 10) | |
| callback_type | No | How to receive updates | notification |