ponzu_swap_tokens_for_eth
Sell tokens for ETH on PonzuSwap DEX. Automatically handles token approval and slippage tolerance for a direct swap.
Instructions
Sell tokens on PonzuSwap DEX for ETH. Requires token approval first (handled automatically). Uses PonzuRouter.swapExactTokensForETH.
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": {
"tokenAddress": "<tokenAddress>",
"tokenAmount": "<tokenAmount>"
},
"name": "ponzu_swap_tokens_for_eth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slippage | No | Slippage tolerance as percentage (default "5" for 5%) | |
| tokenAmount | Yes | Token amount to sell (e.g. "1000") | |
| tokenAddress | Yes | Token contract address to sell |