get_index_price
Retrieve the cached index price for a trading pair. Provide a symbol like BTCUSDT-PERP.BINANCE to get the current index price after pre-subscribing to index_price.
Instructions
获取缓存中的指数价格。需要先预订阅 index_price。
Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE
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_index_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||