get_quote
Simulate a token swap to get expected output, exchange rate, fees, price impact, and minimum received without building or signing a transaction.
Instructions
Simulate a swap and get a quote with expected output, rate, fee, price impact, and minimum received. No transaction is built or signed.
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 | To token symbol or contract ID | |
| slippage | No | Allowed slippage percentage (default 5) | |
| fromToken | Yes | From token symbol or contract ID (e.g. 'VOI', 'aUSDC', '395614') |