t2000_swap
Swap any token pair on Sui using Cetus Aggregator, which pools liquidity from 20+ DEXs. Accepts common names or full coin types; keep a small SUI balance for transaction gas.
Instructions
Swap tokens on Sui via Cetus Aggregator (20+ DEXs). Supports any token pair with liquidity. Use user-friendly names (SUI, USDC, USDsui, CETUS, DEEP, etc.) or full coin types. NOTE: Swap is NOT gasless — the wallet must hold some SUI for gas (typically < $0.01 per swap). Mirrors t2 swap <amount> <FROM> <TO>.
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": {
"from": "<from>",
"to": "<to>",
"amount": "<amount>"
},
"name": "t2000_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target token (e.g. "USDC", "CETUS", or full coin type) | |
| from | Yes | Source token (e.g. "SUI", "USDC", or full coin type) | |
| amount | Yes | Amount of the source token to swap | |
| slippage | No | Max slippage (default 0.01 = 1%, max 5%) |