Jupiter Get Quote
jupiter_getQuoteRetrieve an optimally-routed swap quote with detailed route plan for token swaps on Solana, using the Metis engine.
Instructions
Get an optimally-routed swap quote with full route plan details (Metis engine). 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.
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": "jupiter_getQuote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Raw token amount as string (no decimals) | |
| swapMode | No | Swap Mode parameter for Jupiter Get Quote. | |
| inputMint | Yes | Token mint address (base58) | |
| outputMint | Yes | Token mint address (base58) | |
| maxAccounts | No | Max accounts in transaction (default 64) | |
| slippageBps | No | Slippage tolerance in bps (e.g. 50 = 0.5%) | |
| platformFeeBps | No | Platform fee in bps | |
| dynamicSlippage | No | Dynamic Slippage pagination control for Jupiter Get Quote. | |
| onlyDirectRoutes | No | Restrict to single-hop routes | |
| asLegacyTransaction | No | Return a legacy transaction | |
| restrictIntermediateTokens | No | Restrict Intermediate Tokens mint, symbol, or token identifier used by Jupiter Get Quote. |
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. |