Celina/Tools/Uniswap/execute-uniswap-swap
writeUniswapStdio only

Execute Uniswap Swap

execute_uniswap_swap

Execute a Uniswap v4 swap on Celo mainnet via the Universal Router with Permit2. Sends any required ERC-20 approve and Permit2 approve steps first, then the swap. CELO swaps require WCELO balance on the signer. Requires CELO_PRIVATE_KEY in your MCP client env. All on-chain steps include the CELINA attribution tag.

§ Inputs

NameTypeDescription
token_inRequiredstringCelo mainnet token symbol (e.g. CELO, USDm, USDC, USDT)
token_outRequiredstringCelo mainnet token symbol (e.g. CELO, USDm, USDC, USDT)
amountRequiredstringHuman-readable amount of token_in
fromstringWallet on Celo mainnet. Omit to use the connected wallet or MCP CELO_PRIVATE_KEY signer.
recipientstringrecipient
slippage_tolerancestringslippage tolerance
deadline_minutesstringdeadline minutes

§ Returns

{ approvalHash?, permit2Hash?, swapHash, status, blockNumber }

§ Try saying

  • Swap 1000 G$ to USDT on Uniswap.
  • Swap 25 USDC to USDT via Uniswap v4.

Use this tool

Once Celina is wired into your MCP client, just ask in plain language. The LLM picks execute_uniswap_swap automatically.