Jupiter Swap Instructions
jupiter_swapInstructionsObtain individual swap instructions for composing with other Solana transactions. Prepares swap steps from a quote response.
Instructions
Get individual swap instructions instead of a full transaction. Useful for composing with other instructions. 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 Instructions. | |
| wrapAndUnwrapSol | No | Wrap And Unwrap Sol parameter for Jupiter Swap Instructions. | |
| useSharedAccounts | No | Use Shared Accounts parameter for Jupiter Swap Instructions. | |
| asLegacyTransaction | No | As Legacy Transaction transaction payload used by Jupiter Swap Instructions. | |
| destinationTokenAccount | No | Solana wallet public key (base58) | |
| dynamicComputeUnitLimit | No | Dynamic Compute Unit Limit controlling the maximum number of results returned by Jupiter Swap Instructions. | |
| computeUnitPriceMicroLamports | No | Compute Unit Price Micro Lamports value to use for Jupiter Swap Instructions. |
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. |