entitlement_action
Consume one-time entitlements, or create and delete test entitlements by SKU and owner to validate Discord bot entitlement flows.
Instructions
action = consume (entitlement_id, for one-time consumables) | test_create (sku_id, owner user id) | test_delete (entitlement_id).
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": {
"action": "<action>"
},
"name": "entitlement_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | ||
| owner | No | ||
| action | Yes | ||
| sku_id | No | ||
| entitlement_id | No |