swap_quote
Fetch swap route quotes with price impact analysis on Base chain for a specified token pair and amount; each call costs $0.01 USDC.
Instructions
Get optimal swap route with price impact analysis on Base chain ($0.01 USDC per call)
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": {
"tokenIn": "<tokenIn>",
"tokenOut": "<tokenOut>",
"amountIn": "<amountIn>"
},
"name": "swap_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | Input token address or symbol (e.g. "USDC", "0x833589...") | |
| amountIn | Yes | Amount to swap in token units (e.g. "100" for 100 USDC) | |
| tokenOut | Yes | Output token address or symbol (e.g. "ETH", "WETH") |