Order book
get_orderbookFetch a price-aggregated order-book snapshot for one market, returning bids and asks as [price, quantity] pairs with best levels first.
Instructions
Order-book snapshot for one market, aggregated by price: bids and asks as [price, quantity] pairs, best first.
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": {
"symbol": "<symbol>"
},
"name": "get_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Price levels per side (1-50, default 10) | |
| symbol | Yes | Market symbol as BASE/QUOTE, e.g. BTC/USDT |