Jupiter Swap
jupiter_swapConstruct an unsigned swap transaction from a Jupiter quote response for Solana token swaps. Sign and submit via SAP tools.
Instructions
Build an unsigned swap transaction from a quote response. Sign and send the returned transaction. SAP MCP context: Jupiter protocol tools are served as AgentKit ecosystem tools. Use them for quote, route, and swap preparation, then use SAP transaction preview/sign/submit tools when an unsigned transaction must pass MCP signer policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feeAccount | No | Solana wallet public key (base58) | |
| quoteResponse | Yes | The full quoteResponse object from getQuote | |
| userPublicKey | Yes | Solana wallet public key (base58) | |
| useTokenLedger | No | Use Token Ledger mint, symbol, or token identifier used by Jupiter Swap. | |
| dynamicSlippage | No | Dynamic Slippage pagination control for Jupiter Swap. | |
| wrapAndUnwrapSol | No | Auto wrap/unwrap SOL (default true) | |
| useSharedAccounts | No | Use Shared Accounts parameter for Jupiter Swap. | |
| asLegacyTransaction | No | As Legacy Transaction transaction payload used by Jupiter Swap. | |
| destinationTokenAccount | No | Solana wallet public key (base58) | |
| dynamicComputeUnitLimit | No | Dynamic Compute Unit Limit controlling the maximum number of results returned by Jupiter Swap. | |
| skipUserAccountsRpcCalls | No | Skip User Accounts RPC Calls endpoint or RPC selector used by Jupiter Swap. | |
| computeUnitPriceMicroLamports | No | Priority fee in µ-lamports/CU |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |