fetch_price
Fetch real-time cryptocurrency prices, 24-hour changes, and trading volume from CoinGecko for supported symbols to inform trade execution and position analysis.
Instructions
Fetch real-time cryptocurrency price from CoinGecko API.
Returns current price, 24h change, and trading volume for any supported cryptocurrency.
Use Case: Get instant price data before executing trades or analyzing positions.
Cost: $0.005 USD per call (cheapest tier - high frequency allowed)
Example Response: { "symbol": "bitcoin", "price_usd": 67842.50, "change_24h": 2.34, "volume_24h": 28500000000, "timestamp": "2026-08-24T15:30:00Z" }
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": "fetch_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Cryptocurrency symbol (e.g., 'btc', 'eth', 'sol') |