Get a Jupiter swap quote
get_jupiter_quoteFetch a live Jupiter swap quote for any token pair. Read-only, no wallet needed; returns quote amounts in the input token's smallest unit, ready for execute_swap.
Instructions
Get a live Jupiter swap quote. Read-only — no wallet needed, executes nothing. Amounts are in the input mint's smallest unit (e.g. lamports for SOL). The returned quote is required as input to execute_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": {
"inputMint": "<inputMint>",
"outputMint": "<outputMint>",
"amount": "<amount>"
},
"name": "get_jupiter_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in the input mint's smallest unit, e.g. lamports for SOL | |
| inputMint | Yes | Input token mint address | |
| outputMint | Yes | Output token mint address | |
| slippageBps | No | Slippage tolerance in basis points; defaults to 50 |