swap
Executes non-custodial Permit2 token exchanges with EIP-712 signing data for a $0.05 USDC per-call fee.
Instructions
Execute non-custodial Permit2 swap with EIP-712 signing data ($0.05 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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | Input token address or symbol | |
| amountIn | Yes | Amount to swap in token units | |
| slippage | No | Max slippage percentage (default 0.5) | |
| tokenOut | Yes | Output token address or symbol | |
| recipient | No | Recipient address (default: sender) |