sol_swap_quote
Get a swap quote for Solana tokens via Jupiter aggregator. Specify input and output token mints and amount for a direct quote.
Instructions
Solana DEX quote via Jupiter aggregator. Any SPL token vs SOL/USDC. Free API.
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": "<from>",
"to": "<to>"
},
"name": "sol_swap_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | sol, usdc or base58 mint | |
| from | Yes | sol, usdc or base58 mint | |
| amount | No | Human amount (sol/usdc only) | |
| amountRaw | No | Base units (any mint) |