Candles
candlesRetrieve OHLCV candlestick data for any coin with configurable interval and limit, returning newest-first rows.
Instructions
OHLCV candles from candleSnapshot for coin: rows newest-first,
capped at limit (max 500). startTime is computed so roughly
limit candles of interval are requested. Valid intervals: 1m,
15m, 1h, 4h, 1d, 1w, 1M. Example: candles(coin="BTC",
interval="4h", limit=50)
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": {
"coin": "<coin>"
},
"name": "candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| limit | No | ||
| interval | No | 1h |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||