Get token spot price
network.token_priceGet a spot token price from a public market API (CoinGecko). Free — no payment or wallet needed. Defaults to ETH/USD.
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": "network.token_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | CoinGecko token id (e.g. "ethereum", "bitcoin", "solana"). Defaults to "ethereum". | |
| vsCurrency | No | Quote currency code. Defaults to "usd". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| price | No | ||
| source | No | e.g. "coingecko". | |
| symbol | No | ||
| message | No | ||
| vsCurrency | No |