Reduce recorded usage
pmitz_reduce_usageSubtracts units from the recorded usage of a subject, for example after a seat is freed. It subtracts; it does not restore an earlier value. 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>",
"groupId": "<groupId>",
"productId": "<productId>",
"featureId": "<featureId>",
"units": "<units>"
},
"name": "pmitz_reduce_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | Yes | Units per limit ID, for example {"monthly-exports": 1}. Each value is a positive integer. | |
| groupId | Yes | Identifier of the subscription, user or directory group. | |
| sandbox | Yes | The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…. | |
| featureId | Yes | Feature ID inside that product. | |
| groupType | No | Kind of subject. Use "subscriptions" when access depends on a plan. | |
| productId | Yes | Product ID from the catalog. |