get_price
Retrieve the current mid-price for a symbol from live best bid/ask, falling back to last traded price when liquidity is low.
Instructions
Live mid-price ((best bid + best ask) / 2) for a symbol, falling back to last traded price for illiquid pairs. This is the ONLY valid source for a current price — never quote prices from memory.
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_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| market_type | No | SPOT |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |