Read a customer's rights
get_usagesCheck a customer's current entitlements by reading live usages from ProAbono, one entry per feature in running subscriptions. Use it to gate access; empty result means verify subscriptions first.
Instructions
Reads a customer's Usages: what that customer may do right now, as ProAbono sees it, one entry per Feature carried by their running subscriptions. Read-only. This is the source an application gates access on -- never the offer reference. An empty result is ambiguous: check the customer's subscriptions with list_subscriptions before concluding they have no rights.
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": {
"customer_ref": "<customer_ref>"
},
"name": "get_usages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature_ref | No | Restrict to one Feature reference. | |
| customer_ref | Yes | Shared reference of the customer. |