Check feature access
pmitz_verify_entitlementChecks whether a subject may use a feature. Returns featureAllowed and, on denial, the cause (INVALID_SUBSCRIPTION, PRODUCT_NOT_ALLOWED or FEATURE_NOT_ALLOWED). 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>"
},
"name": "pmitz_verify_entitlement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |