buy-token
Acquire any token on Solana via the Raydium launchpad. Set the token address, SOL amount, and slippage to execute the purchase.
Instructions
Buy tokens on Solana using the Raydium launchpad
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": {
"token_address": "<token_address>",
"amount_sol": "<amount_sol>"
},
"name": "buy-token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slippage | No | Maximum slippage percentage (default: 5%) | |
| amount_sol | Yes | Amount of SOL to spend | |
| token_address | Yes | Token mint address to buy |