spraay_swap_quote
Get a swap quote from Uniswap V3 on Base with expected output, price impact, and route details. Input token, output token, and amount to swap.
Instructions
Get a swap quote from Uniswap V3 on Base. Returns expected output amount, price impact, and route details. Use spraay_swap_tokens to see available tokens. Costs $0.002 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | Input token symbol (e.g. 'USDC', 'WETH', 'DAI') or contract address | |
| amountIn | Yes | Amount to swap in human-readable units (e.g. '1000' for 1000 USDC) | |
| tokenOut | Yes | Output token symbol (e.g. 'WETH', 'USDC') or contract address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |