Skip to main content
Onchain Actions makes it easy to swap tokens across supported protocols and chains, giving users flexible options for trading digital assets. Key features include:
  • Direct token exchanges
  • Cross-chain swaps
  • Access to over +7000 tradable tokens

MCP Tools

Visit Ember’s MCP Explorer to explore the token swap and management tools.
The following list includes possibleTools (such as possibleSwaps) and createTools (such as createSwap). possibleTools are optional. LLMs call createTools directly when all info is available, and use possibleTools to provide feedback and filter options for users based on their partial input, or to answer “what’s possible” questions.

possibleSwaps:

Discover available token swap opportunities based on user wallet balances and supported trading pairs. Returns paginated results showing all possible token combinations that can be swapped across different blockchains.

createSwap:

Create a cross-chain token swap transaction plan. Swap tokens across chains with support for exactIn/exactOut, slippage tolerance, and expiration options.