get_ohlcv
Fetch daily OHLCV candles (open, high, low, close, volume, market cap) for a coin over the last N days to analyze price and volume trends.
Instructions
Daily OHLCV candles (open/high/low/close/volume/market cap) for one coin over the last N days. Uses CMC endpoint /v2/cryptocurrency/ohlcv/historical.
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_ohlcv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days, default 7 | |
| symbol | Yes | Coin symbol, e.g. "BTC" |