Get price candles
get_candlesFetch recent OHLCV candles for a perpetual symbol to analyze interval price action, volume, and average range for market decisions.
Instructions
Recent price history for a symbol as candles, oldest first: open, high, low, close and volume for each interval. The newest candle is usually still forming — lastCandleComplete says whether it has closed. averageRange is the mean high-to-low of the complete candles: how far price typically moves in one interval.
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_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many of the most recent candles to return. Defaults to 24. | |
| symbol | Yes | Perp symbol, for example BTC or ETH. | |
| interval | No | Length of each candle. Defaults to 1h. |