get_orderbook
Retrieve top order book levels for a trading symbol, returning bid and ask prices with sizes. Specify depth to control the number of levels.
Instructions
Top-N order book levels.
Returns {"bids": [[price, size], ...], "asks": [[price, size], ...]}.
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 |
|---|---|---|---|
| symbol | Yes | ||
| depth | No |