fetchOrderBooks
Fetch order books for multiple outcomes across prediction markets in one request, supporting exchanges like Polymarket and Kalshi.
Instructions
Batch variant of {@link fetchOrderBook}. Fetches order books for multiple outcomes in a single request where the exchange supports it.
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": {
"exchange": "<exchange>",
"outcomeIds": "<outcomeIds>"
},
"name": "fetchOrderBooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exchange | Yes | The prediction market exchange to target. | |
| outcomeIds | Yes | ||
| verbose | No | Return full uncompacted response. Default false returns a compact, agent-friendly summary. |