Get order book
get_bookFetch the best bid, best ask, spread, and nearest order book levels for a trading symbol to evaluate market depth and liquidity.
Instructions
Top of book for a symbol: best bid, best ask, spread, and the nearest levels on each side.
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_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many levels per side to return. Defaults to 5. | |
| symbol | Yes | Perp symbol, for example BTC or ETH. |