get_token_price
Get live USD price for any ERC-20 token from DEX pools. Accepts ticker or contract address, returns price, pair, liquidity, and confidence, skipping unreliable dust pools.
Instructions
Live USD price of any ERC-20 token, read from DEX pools at call time. Accepts a ticker (CAKE, WETH, ARB) or any contract address. Returns the price, the pair it was priced through, the USD liquidity backing that quote and a confidence rating. Refuses to return a price backed by a dust pool rather than reporting an unreliable number.
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>"
},
"name": "get_token_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain to query. Defaults to bsc. | |
| token | Yes | Ticker (e.g. CAKE) or 0x contract address. |