quote_swap_now
Get a real-time swap quote by specifying the coin to sell, coin to buy, and amount. Use it to preview conversion rates before executing a trade.
Instructions
Get a Swap Now quote.
Args:
cointypesell: Coin ticker to sell/swap from.
cointypebuy: Coin ticker to receive.
amount: Amount of the sell coin to swap.
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": {
"cointypesell": "<cointypesell>",
"cointypebuy": "<cointypebuy>",
"amount": "<amount>"
},
"name": "quote_swap_now"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| cointypebuy | Yes | ||
| cointypesell | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |