buy_product
The exact purchase call for a product and tier (one-time pack via POST /api/datapacks/buy, subscription via POST /api/feeds/subscribe), with terms, idempotency and what is metered. Does not move money: purchases need a session (or Stripe checkout).
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 | ||
| tier | No |