get_price
Fetch cryptocurrency price data from multiple exchanges for real-time or historical analysis with customizable parameters like time resolution and fiat conversion.
Instructions
Get cryptocurrency price data from the price service
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": {
"fromSym": "<fromSym>"
},
"name": "get_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fromSym | Yes | The cryptocurrency symbol to get price for (e.g., BTC, ETH) | |
| timestampSEC | No | Unix timestamp in seconds for historical price (optional) | |
| service | No | Price service to use (default: coinbase) | coinbase |
| resolution | No | Time resolution for price data (default: 1d) | 1d |
| toFiat | No | Target fiat currency (default: USD) | USD |
| timezone | No | Timezone for timestamp (default: UTC) | UTC |