get_price_history
Retrieves past OHLC price history for a coin over 1–365 days in your target currency, so you can analyze trends and track how prices moved over time.
Instructions
Dapatkan riwayat harga koin dalam beberapa hari terakhir.
Args: coin: Nama atau simbol koin (contoh: "bitcoin" atau "btc") days: Jumlah hari ke belakang (1-365, default: 7) currency: Mata uang target (default: "usd")
Returns: Riwayat harga OHLC (Open, High, Low, Close)
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": "get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| days | No | ||
| currency | No | usd |