LogoLogo
HuggingFace Community$LUMOXTelegram
  • Introduction
  • Roadmap
  • Partnerships and Listings
  • LumoKit: Solana AI Toolkit Framwork
    • Introduction to LumoKit
    • Installation Guide
      • Pre-requisites
      • Environment Configuration
      • Local Installation
  • How to Add Tools
  • Tools
    • Wallet Portfolio tool
    • Token Identification Tool
    • Rugcheck Token Information Tool
    • Fluxbeam Token Price
    • BirdEye Token Trending
    • Birdeye All Time Trades
    • CoinMarketCap Crypto News
    • Crypto.news Memecoin News
    • GeckoTerminal Trending Pump.Fun Tool
    • CoinGecko Global Crypto Data Tool
    • CoinGecko Trending Crypto Tool
    • CoinGecko Exchange Rates Tool
    • CoinGecko Coin Data Tool
    • CoinMarketCap Trending Coins Tool
    • DexScreener Top Boosts Tool
    • DexScreener Token Information
    • Jupiter Token Price
    • Jupiter Token Metadata Tool
    • Solana Send SOL Tool
    • Solana Send SPL Tokens Tool
    • Solana Burn Tokens Tool
    • Jupiter Swap (Buy/Sell) Tool
    • Pump.Fun Launch Coin Tool
  • Lumo-8B-Instruct Model
    • Model Overview
    • Capabilities and Limitations
    • Use Cases
  • Lumo Dataset
    • About Lumo-Iris
    • About Lumo-8B
    • Dataset Preparation
    • Training Metrics
  • Using The Model
    • HuggingFace Hub
    • How to Inference
  • Lumo Community
    • How to Contribute
    • Report Bugs/Issues
Powered by GitBook

Copyright © 2025 Lumo. All Rights Reserved. This software is open-source and licensed under the GNU Affero General Public License (AGPL) v3.0. You are free to redistribute and modify it under the terms of this license.

On this page
  1. Tools

CoinGecko Exchange Rates Tool

CoinGecko Exchange Rates Tool (coingecko_exchange_rates_tool)

Fetches current exchange rates for 1 Bitcoin (BTC) against a list of major cryptocurrencies, fiat currencies, and commodities, as provided by CoinGecko.


class CoinGeckoExchangeRatesInput(BaseModel):
    pass # No input needed

Key Functionality:

  • Retrieves Bitcoin's exchange rates against other assets from api.coingecko.com.

  • Displays how many units of selected major cryptocurrencies (e.g., ETH, SOL), fiat currencies (e.g., USD, EUR), and commodities (e.g., Gold) are equivalent to 1 BTC.


Sample Usage Queries (How an AI might use it):

  • "What are the current Bitcoin exchange rates from CoinGecko?"

  • "Show me BTC's value against major currencies and cryptos."

  • "Get the CoinGecko exchange rates for Bitcoin."

  • "How much ETH or USD is 1 Bitcoin worth right now?"

  • "Fetch current BTC exchange rates."

  • "What are the Bitcoin rates against fiat and other top coins on CoinGecko?"

  • "Provide a summary of Bitcoin's exchange rates."


class CoinGeckoExchangeRatesTool(BaseTool):
    name: ClassVar[str] = "coingecko_exchange_rates_tool"
    description: ClassVar[str] = "Get Bitcoin-to-currency exchange rates for major cryptocurrencies, fiat currencies, and commodities."
    args_schema: ClassVar[Type[BaseModel]] = CoinGeckoExchangeRatesInput

Important:

  • This tool operates asynchronously (_arun) only.

  • Relies on the external CoinGecko API (api.coingecko.com); functionality and data accuracy depend on this third-party service.

PreviousCoinGecko Trending Crypto ToolNextCoinGecko Coin Data Tool

Last updated 2 days ago