entitlements_list
entitlements_list
Section titled “entitlements_list”Category: monetization
List entitlements for an application.
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 |
user_id | string | no | Discord user ID |
sku_ids | array | no | |
before | string | no | Discord entitlement ID |
after | string | no | Discord entitlement ID |
limit | integer | no | |
guild_id | string | no | Discord guild (server) ID |
exclude_ended | boolean | no | |
exclude_deleted | boolean | no |
Returns
Section titled “Returns”\{entitlements:[...], count\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
entitlements | array | yes | |
count | integer | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |
Source
Section titled “Source”packages/mcp-core/src/tools/monetization/entitlements_list.ts