token_price
Retrieve the live USD price of any token using its blockchain and contract address, CoinGecko ID, or symbol. No API key required.
Instructions
Get the live USD price of a token by {chain,address} (most precise) or by coingeckoId or symbol. Free key-less price feed (DefiLlama/CoinGecko).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "token_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain for an on-chain token address lookup. | |
| address | No | Token contract address (use with chain). | |
| coingeckoId | No | CoinGecko id, e.g. 'ethereum'. | |
| symbol | No | Token symbol, e.g. 'ETH' (best-effort). |