get_quote
Get a swap quote with expected output, rate, and price impact using local Nomadex AMM pool math to review swap outcomes before signing.
Instructions
Get a swap quote with expected output, rate, and price impact. Uses local Nomadex AMM math for direct pool quotes.
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>",
"amount": "<amount>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to swap in human-readable units (e.g. '100' for 100 VOI) | |
| toToken | Yes | Destination token symbol | |
| slippage | No | Allowed slippage percentage (default 5) | |
| fromToken | Yes | Source token symbol (e.g. VOI, aUSDC, UNIT) |