Check access
check_entitlementDetermine whether a specified customer can use a product right now by checking entitlement against customer and product or price identifiers.
Instructions
Check access.
One call: may this customer use this product now? Name the customer by customer, customer_email or customer_external_id, and the product by product (or price).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_entitlement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | A price id, `price_…`. | |
| product | No | A product id, `prod_…`. | |
| customer | No | A customer id, `cus_…`. | |
| customer_email | No | ||
| customer_external_id | No |