get_token_price
Retrieves the current USD price of any token on Uniswap using its symbol or address across multiple chains. The price is derived on-chain from the native token price.
Instructions
Current USD price of a token on Uniswap. Accepts a symbol (e.g. WETH, USDC) or an address. Price is derived on-chain (token's native-denominated price × the native token's USD price); sanity-check a stablecoin should read ~$1.
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": {
"token": "<token>",
"chain": "<chain>"
},
"name": "get_token_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain: ethereum, arbitrum, base, polygon, optimism, or bsc (aliases like eth/arb/matic/bnb are accepted) | |
| token | Yes | Token symbol or 0x address | |
| version | No | Uniswap version: v2, v3, or v4. Omit to use the highest-volume version on that chain. |