get_order_book
Get the live order book for a Polymarket outcome token: best bid/ask, mid, spread, and top N levels with cumulative size and notional.
Instructions
Fetch the live order book for one outcome token: best bid/ask, mid, spread, and the top N levels per side with cumulative size and notional. This is the central tool of this server.
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_id": "<token_id>"
},
"name": "get_order_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Number of price levels to return per side. | |
| token_id | Yes | CLOB token id for one specific outcome (not a condition_id, not a slug). |