Buy a product
buy_productBuy a product with USDC over x402. Without a payment it returns the x402 payment requirements; with one it settles the payment and returns the product (for kits, a personal download link valid for 24 hours).
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": {
"slug": "<slug>"
},
"name": "buy_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Product slug from list_products | |
| account | No | For dashboard-pro only: the dashboard account id the pass is for |