Buy a coin
pump_buyBuy a pump.fun coin with SOL from the server wallet on its bonding curve or DEX pool; trades are simulated first and only sent if they would succeed.
Instructions
Buy a pump.fun coin with SOL from this server's wallet (bonding curve or its DEX pool after graduation). REAL MONEY: confirm the coin and the amount with the user before calling. The trade is simulated first and only sent if it would succeed. Capped by PUMP_MAX_SOL_PER_TRADE.
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>",
"sol": "<sol>"
},
"name": "pump_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sol | Yes | ||
| mint | Yes | ||
| slippage_pct | No |