Create Policy Group
lexq_groups_createCreate a new policy group. Requires name. Priority is auto-assigned (appended last, tenant-wide); use lexq_groups_reorder to change order. Optionally set conflict resolution, activation group, and description. Policy groups that share an activationGroup form a cluster and must share the same activationMode / activationStrategy / executionLimit; executionLimit is how many of those groups run, not how many rules. A tenant can have at most 20 groups that are not ARCHIVED; archive groups you no longer use to free a slot.
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>"
},
"name": "lexq_groups_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Group name (unique among non-ARCHIVED) | |
| description | No | Group description | |
| activationMode | No | Conflict resolution mode. Defaults to EXCLUSIVE with an activationGroup, and is always NONE without one. A group with an activationGroup and mode NONE is rejected (P-066). | |
| executionLimit | No | How many policy groups sharing this activationGroup may run when mode is MAX_N; 2 when omitted. Counts groups, not rules: every rule of a winning group runs. | |
| activationGroup | No | Activation group (Execution Group) cluster key. Policy groups sharing this key compete, and group priority picks the winners. | |
| activationStrategy | No | Ranking used to pick the winning groups when mode is EXCLUSIVE or MAX_N |