Quote buy or sell
get_quoteQuote a buy (amount is SOL) or a sell (amount is tokens). Returns expectedOut, minOut, the pool fee, and poolFee.protectionEndsAt. Does not build or send a transaction.
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": {
"mint": "<mint>",
"side": "<side>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | Yes | Base58 Solana address. A public key, never a private key. | |
| side | Yes | ||
| amount | No | Buy: SOL, e.g. 0.1. Sell: token UI amount. Optional when lamports or tokenAmountRaw is set. | |
| wallet | No | Trader public key. The streamer fee is skipped when this wallet is the streamer. | |
| lamports | No | Buy only: SOL amount in lamports. | |
| slippageBps | No | Slippage in basis points. 300 = 3%. Default 300. | |
| tokenAmount | No | Sell: token UI amount. Same as amount. | |
| tokenAmountRaw | No | Sell: token amount in base units. |