Get Polymarket order books
polymarket_books_getFetch order books for up to 150 Polymarket outcome tokens in one request by providing token IDs, so you can inspect bids, asks, and price levels.
Instructions
Get the order books of up to 150 Polymarket outcome tokens in one request. Requires tokenIds.
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": {
"tokenIds": "<tokenIds>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "polymarket_books_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Price levels returned per side, 1–200. Default: 20. Levels run from the best price outward. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| tokenIds | Yes | Required. Outcome token ids, 1–150. Repeat the parameter or separate ids with commas. Token ids are the `tokenId` of a market outcome. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. |