Check a token and its buy transaction in one call
safe_buyBefore a bot buys a Solana token: rug-checks the token and has Presign Guard check the buy transaction the bot is about to sign. Returns one verdict: green (no red flags), orange (ask the user first) or red (do not sign), with the reasons. Nothing is signed or sent. Automated checks, not financial advice.
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>",
"transaction": "<transaction>"
},
"name": "safe_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | Yes | Token mint address the bot wants to buy (base58) | |
| intent | No | What the buy should do, e.g. "buy 0.1 SOL of <mint> on pump.fun" | |
| exclude | No | Token accounts to leave out of the holder check, such as a pool or bonding curve | |
| transaction | Yes | The base64 wire transaction of the buy, unsigned or about to be signed |