quote_open_position
Quote opening a NEW Raydium CLMM position in a pool (no existing NFT). Input SOL/USDC/pool token, amount, and a price range (presets tight ±0.05% / standard ±0.3% / wide ±1%, or custom minPrice/maxPrice in B per 1 A). Returns expected A/B after Jupiter swap-to-ratio, tick-aligned range, in/out-of-range, price impact, refundable vs non-refundable SOL rent (NFT + tick arrays), and Token-2022/freeze flags. Fails clearly on insufficient balance, >5% impact, transfer-fee/freeze, or unfunded tick arrays the wallet cannot pay. Read-only.
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": {
"wallet": "<wallet>",
"poolId": "<poolId>",
"inputMint": "<inputMint>",
"inputKind": "<inputKind>",
"amount": "<amount>"
},
"name": "quote_open_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in token units (e.g. '1.5') | |
| poolId | Yes | Raydium CLMM pool id (from list_rwa_pairs) | |
| wallet | Yes | Wallet public key | |
| maxPrice | No | Custom range max price (B per 1 A), required if rangePreset=custom | |
| minPrice | No | Custom range min price (B per 1 A), required if rangePreset=custom | |
| inputKind | Yes | 'native' for SOL, 'token' otherwise | |
| inputMint | Yes | "SOL" or "USDC" (resolved to So11111111111111111111111111111111111111112 / EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v), or a mint address in the pool | |
| rangePreset | No | Default standard (±0.3% around current B-per-A price) | standard |
| resaleFloorBps | No | Minimum resale ratio in basis points (9500-10000, default 9900) | |
| slippageToleranceBps | No | Open-position price tolerance in basis points (0-500, default 100). Jupiter swap slippage stays 0.5%. |