Uniswap v3 On-Chain Price
uniswap_priceSpot price of a token pair read directly from the deepest Uniswap v3 pool on Ethereum, Base, Arbitrum, Optimism or Polygon: price, inverse, fee tier, tick and liquidity. Tokens by symbol or address.
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_in": "<token_in>"
},
"name": "uniswap_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | ||
| chain | No | ethereum | |
| token_in | Yes | ||
| token_out | No | USDC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |