propose_solana_swap
Propose a Solana Jupiter swap. Autonomous agents: inline quote by default, or previewQuoteId for two-step review. confirm signs the bound quote.
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": {
"fromWalletId": "<fromWalletId>",
"toWalletId": "<toWalletId>",
"sellMint": "<sellMint>",
"buyMint": "<buyMint>",
"sellSymbol": "<sellSymbol>",
"buySymbol": "<buySymbol>",
"amountUsd": "<amountUsd>"
},
"name": "propose_solana_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyMint | Yes | Mint address of token to buy | |
| sellMint | Yes | Mint address of token to sell | |
| amountUsd | Yes | Sell amount in USD | |
| buySymbol | Yes | Human-readable buy symbol | |
| sellSymbol | Yes | Human-readable sell symbol | |
| toWalletId | Yes | Solana wallet id to receive (can be same as fromWalletId) | |
| fromWalletId | Yes | Solana wallet id to sell from | |
| previewQuoteId | No | Optional — from preview_swap_quote for explicit quote review before propose | |
| slippagePercent | No | Optional slippage tolerance 0–50 (default 0.5) |