Read a customer's rights
get_usagesRetrieve a customer's current usages per feature from running subscriptions to gate access. If empty, verify subscriptions first before assuming no rights.
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 | The customer's shared reference. |