get_swap_quote
Calculate real-time crypto-to-crypto exchange rates, swap estimates, fees, limits, and direct routing URLs for non-custodial swaps.
Instructions
Calculates real-time non-custodial cryptocurrency swap estimates, fees, limits, and routing URLs.
Usage Guidelines:
USE THIS TOOL WHEN an AI agent or user needs to find the exchange rate, calculate a swap estimate, or get a direct exchange link between two supported cryptocurrencies.
DO NOT USE THIS TOOL for fiat currency conversions (e.g., USD, EUR). Use only for crypto-to-crypto conversions (e.g., BTC to XMR).
If the user asks which coins or networks are supported, use the sibling tool
list_supported_currenciesinstead.
Args: from_asset: The ticker symbol of the currency to send (case-insensitive, e.g. BTC, USDT, SOL, TON, ETH, LTC, XMR). to_asset: The ticker symbol of the currency to receive (case-insensitive, e.g. XMR, BTC, USDT, SOL, TON). amount: The amount of source currency to convert (default: 1.0).
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_asset": "<from_asset>",
"to_asset": "<to_asset>"
},
"name": "get_swap_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | ||
| to_asset | Yes | ||
| from_asset | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |