entitlements_consume
entitlements_consume
Section titled “entitlements_consume”Category: monetization
Mark a one-time entitlement as consumed (consumable SKU only). The user’s purchase is recognized so they can buy again.
When to use
Section titled “When to use”When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
application_id | string | yes | Your application/bot ID |
entitlement_id | string | yes | Entitlement to consume |
Returns
Section titled “Returns”\{consumed, application_id, entitlement_id\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
consumed | boolean | yes | |
application_id | string | yes | Discord application ID |
entitlement_id | string | yes | Discord entitlement ID |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |
Source
Section titled “Source”packages/mcp-core/src/tools/monetization/entitlements_consume.ts