solana swap quote
solana_swap_quoteBest Solana swap price via the Jupiter aggregator: output amount, minimum after slippage, USD value, price impact and the route (Raydium, Orca, Meteora...). Tokens by symbol (SOL, USDC, USDT, JUP, BONK, JTO) or mint. Costs $0.003 USDC per call (x402).
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_token": "<from_token>",
"to_token": "<to_token>",
"amount": "<amount>"
},
"name": "solana_swap_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| to_token | Yes | ||
| from_token | Yes | ||
| slippage_percent | No |