Get quote
get_quotePrice a buy or sell from the token's live on-chain bonding curve, including the 1% fee, price impact and minimum output. Sends nothing. If partialFill is true, the buy would complete the curve and solCharged is what would actually be spent.
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>",
"amount": "<amount>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | Yes | Token mint address (base58) | |
| side | Yes | Trade direction | |
| amount | Yes | Positive integer as a string. buy: SOL in lamports (1 SOL = 1000000000). sell: raw token units (6 decimals, 1 token = 1000000) | |
| slippageBps | No | Slippage tolerance in basis points, up to 500 (5%). Default 100 (1%). A sandwich bot can take up to the whole tolerance, so keep it tight |