Jupiter Quote
jupiter_quoteBest swap route and quote between two Solana token mints via Jupiter Aggregator — expected output amount, price impact, and the route (which AMMs/DEXes it crosses). Amount is in the INPUT token's base units (e.g. lamports for SOL: 1 SOL = 1_000_000_000).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amount": "10000000",
"input_mint": "So11111111111111111111111111111111111111112",
"output_mint": "Ez1zGM23iZgzxvinkNEnTuSkyicwbahvRjfpRDaWnzbj",
"slippage_bps": 100
},
"name": "jupiter_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of input_mint to swap, in base units (integer, as a string or number — e.g. "1000000000" for 1 SOL). | |
| input_mint | Yes | Input token mint address (base58). | |
| output_mint | Yes | Output token mint address (base58). | |
| slippage_bps | No | Max slippage in basis points. Default 50 (0.5%). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | No | ||
| source | No | ||
| in_amount | No | ||
| swap_mode | No | ||
| fetched_at | No | ||
| input_mint | No | ||
| out_amount | No | ||
| output_mint | No | ||
| context_slot | No | ||
| slippage_bps | No | ||
| swap_usd_value | No | ||
| price_impact_pct | No | ||
| other_amount_threshold | No |