get_coin_prices
Retrieves current token prices via DefiLlama for comma-separated chain:address identifiers, enabling valuation of Ethereum and cross-chain assets.
Instructions
Get current prices for tokens using DefiLlama. Format: "chain:address" (e.g., "ethereum:0x..." or "coingecko:bitcoin")
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": {
"coins": "<coins>"
},
"name": "get_coin_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coins | Yes | Comma-separated list of coins in format "chain:address" (e.g., "ethereum:0x6b175474e89094c44da98b954eedeac495271d0f,coingecko:bitcoin") |