execute_buy
Risk-check, build, sign, and broadcast a pump.fun token buy for a given mint using a USD amount between $10 and $20, with optional slippage control.
Instructions
Risk-check, build, sign, and broadcast a pump.fun buy. Requires AUTO_TRADING_ENABLED=true and the configured keypair.
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>",
"usdAmount": "<usdAmount>"
},
"name": "execute_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | Yes | Token mint address to buy. | |
| usdAmount | Yes | USD size. Must be between $10 and $20. | |
| slippagePct | No |