suwappu

v0.1.1
io.github.0xSoftBoi/suwappu Checked 1 day ago Published 8 months ago

Cross-chain DEX for AI agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_quote

Get a swap quote for exchanging tokens. Supports EVM chains (Ethereum, Base, Arbitrum, Polygon, BSC, Optimism, Avalanche) via Li.Fi and Solana via Jupiter.

ParameterTypeDescription
amount *stringAmount to swap in human units (e.g. "0.5")
from_token *stringSource token symbol (e.g. ETH, SOL, USDC)
to_token *stringDestination token symbol
chainstringChain name (ethereum, base, arbitrum, polygon, bsc, optimism, avalanche, solana). Defaults to ethereum.
from_chainstringSource chain for cross-chain swaps (optional)
slippagenumberSlippage tolerance as decimal (0.03 = 3%). Default 0.03
to_chainstringDestination chain for cross-chain swaps (optional)
wallet_addressstringWallet address to get executable transaction data (optional)

get_portfolio

Get token balances and portfolio value for a wallet address across all supported chains.

ParameterTypeDescription
wallet_address *stringWallet address (0x... for EVM, base58 for Solana)
chainstringFilter to specific chain (optional)

get_prices

Get current token prices in USD with 24h change. Supported: ETH, SOL, BNB, USDC, USDT, BTC, DAI, WBTC, ARB, OP, AVAX, MATIC, WETH, BONK, JUP, RAY.

ParameterTypeDescription
symbols *stringComma-separated token symbols (e.g. "ETH,SOL,USDC"). Max 20.

list_chains

List all supported blockchain networks for swapping.

list_tokens

List available tokens on a specific chain.

ParameterTypeDescription
chainstringChain name (e.g. "base", "solana"). If omitted, returns all chains.
searchstringFilter tokens by symbol substring (optional)

execute_swap

Execute a swap using a previously obtained quote_id. Returns an unsigned transaction for the user to sign.

ParameterTypeDescription
quote_id *stringQuote ID from a previous get_quote call
wallet_address *stringWallet address to sign the transaction