swap_route
Meta-router swap quotes with executable calldata: races LI.FI, KyberSwap and Velora and returns the best net output with ready-to-sign transaction data. A 0.3% integrator fee on executed swaps routes to the service wallet on-chain. Base + 60 chains (cross-chain via LI.FI). Pay-per-call $0.002 (USDC on Base, x402/MPP - a 402 challenge is returned on unpaid calls).
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": {
"fromToken": "<fromToken>",
"toToken": "<toToken>",
"fromAmount": "<fromAmount>",
"fromAddress": "<fromAddress>"
},
"name": "swap_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toChain | No | optional | |
| toToken | Yes | required | |
| slippage | No | optional | |
| fromChain | No | optional | |
| fromToken | Yes | required | |
| fromAmount | Yes | required | |
| fromAddress | Yes | required |