get_order_book
Retrieve the order book (market depth) for a given instrument, including bids, asks, last price, and spread. For bonds, prices are shown as a percentage of nominal.
Instructions
Get order book (market depth) for an instrument: bids, asks, last price, spread.
A bond's prices are in percent of its nominal, not in money.
Args: instrument_id: Instrument ticker, FIGI, ISIN or UID depth: Order book depth 1-50 (default: 20)
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": {
"instrument_id": "<instrument_id>"
},
"name": "get_order_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| instrument_id | Yes |