create_eligibility_rule
Define a PQL eligibility rule to control offer targeting in Experience Decisioning. Confirm to execute.
Instructions
Create a PQL eligibility rule for Experience Decisioning. Requires confirmed: true to execute.
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": {
"name": "<name>",
"pql_expression": "<pql_expression>"
},
"name": "create_eligibility_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Rule display name | |
| confirmed | No | ||
| description | No | ||
| access_token | No | ||
| pql_expression | Yes | PQL expression e.g. profile.loyaltyTier.in(["gold","platinum"]) or true for all visitors |