buy_crypto
Buy cryptocurrency on Coinbase with an optional preview. Specify symbol and USD amount; set confirm to true to execute the order.
Instructions
Place a buy order for cryptocurrency on Coinbase. Set confirm to false (default) for a preview, or true to execute. Requires COINBASE_EMAIL and COINBASE_PASSWORD environment variables.
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": {
"symbol": "<symbol>",
"amount_usd": "<amount_usd>"
},
"name": "buy_crypto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Cryptocurrency symbol to buy (e.g., "BTC", "ETH") | |
| confirm | No | If false, returns preview only. If true, executes the order. | |
| amount_usd | Yes | Amount in USD to spend |