uniswap_swap_build
Quote all Uniswap v3 fee tiers via QuoterV2 and build an unsigned SwapRouter02 exactInputSingle tx with slippage min-out, allowance (approval tx) and balance checks. 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": "uniswap_swap_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | optional tier | |
| from | No | 0x... | |
| chain | No | base | |
| amount | No | 100 | |
| token_in | No | USDC|WETH|0x... | |
| token_out | No | USDC|WETH|0x... | |
| slippage_bps | No | 50 |