dex_quote
On-chain DEX swap quote: Uniswap v3 QuoterV2 exact-input across 0.01/0.05/0.3/1% fee tiers -> best amount out, price, gas estimate. Symbols (USDC, WETH, cbBTC, AERO, USDT, DAI) or any ERC-20 address. Paid: $0.02 USDC via x402.
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": "dex_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base (default) | |
| amount | No | decimal amount in (default 1) | |
| token_in | No | symbol or 0x | |
| token_out | No | symbol or 0x |