Create product
pmitz_create_productCreates a product with its features, limits and plans. Limits belong to features; a plan lists the features it includes and may override their limits. Fails with a conflict if the product ID already exists; there is no update, so changing a product means removing it and creating it again. Acts on one Pmitz sandbox.
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": {
"sandbox": "<sandbox>",
"product": "<product>"
},
"name": "pmitz_create_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | One product object. Example with a Free plan of 3 exports a month and a Pro plan of 100: {"productId":"reports","features":[{"featureId":"export","limits":[{"type":"CalendarPeriodRateLimit","id":"monthly-exports","quota":3,"periodicity":"MONTH"}]},{"featureId":"audit-log","limits":[]}],"plans":[{"planId":"free","includedFeatures":["export"]},{"planId":"pro","includedFeatures":["export","audit-log"],"limitsOverride":[{"type":"CalendarPeriodRateLimit","id":"monthly-exports","quota":100,"periodicity":"MONTH"}]}]} | |
| sandbox | Yes | The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…. |